Skip to content

Route Overview does not work properly when showing on android auto #2441

Open
@AkshatDubey10

Description

@AkshatDubey10

Environment

Android OS version: 14, 13, 12, 11
Devices affected: SM-S908B, SM-S901B
Maps SDK Version: 10.16.6-SNAPSHOT.0306T1139Z.764ecaa
Maps Android Auto Extension: 0.5.0

Observed behavior and steps to reproduce

While showing route overview for the route the map sometimes zooms out to show the whole world, and sometimes does not cover the whole drawn route. This only happens when we try to show the route overview on android auto.

We use the cameraForGeometry function available and pass the bounds of the route to the function. When the camera zooms out to show the whole world sometimes the position we get from this function is also in negative values leading to the crashing of app.

image

image

Expected behavior

Route overview should work in the same way it works on mobile, we have also tried using the same bounds on both mobile and auto but on auto this does not seem to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions