Skip to content

Big location pointer on Android Auto #2440

Open
@AkshatDubey10

Description

@AkshatDubey10

Environment

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

Observed behavior and steps to reproduce

Users are facing issue of seeing big location pointer on android auto randomly when opening the app. This goes away when they switch to some another app and then come back

6180b274-e87c-4953-b990-007feccc2f09

20240719_171156.mp4

Expected behavior

The pointer should be shown in a small size as is normally displayed.
20240709_195037

Notes / preliminary analysis

We followed the same step to add the location puck as mentioned in the documentation but still the issue does seem to occur randomly. Have added the code below of how we are adding the location puck

mapboxMap?.getStyle {
        val drawable = ContextCompat.getDrawable(context, R.drawable.mapbox_user_puck_icon)

        surface?.mapSurface?.location2?.updateSettings2 {
            puckBearingEnabled = true
            puckBearingSource = COURSE
        }

        surface?.mapSurface?.location?.locationPuck = LocationPuck2D(bearingImage = drawable)
 }

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