Skip to content

[ANDROID] Polyline not draw in standard map #5672

@estebanGTS

Description

@estebanGTS

Summary

When passing the coordinates of my polyline, it is not drawn if it is under a building, but if it is outside it is drawn. This only happens in android, in IOS it works normally.

Reproducible sample code

<MapView
        mapType={'standard'}
        style={{flex: 1}}
        initialRegion={{
          latitude: -0.158635,
          longitude: -78.467475,
          latitudeDelta:  14,
          longitudeDelta: 14 ,
        }}>
      <Polyline
        coordinates={[
    {
        latitude: -0.158635,
        longitude: -78.467475,
    },
    {
        latitude: -0.158585,
        longitude: -78.467538,
    }
]}
        strokeColor={'red'}
        strokeWidth={4}
        lineJoin={'miter'}
      />
      </MapView>

Steps to reproduce

To reproduce the bug it is only necessary to draw a line with the ‘standard’ map and that it is inside a building, with other types of maps it works correctly but with the ‘standard’ map the polyline is not drawn when the 3d is active.

Expected result

The polyline is expected to be drawn on the 3d building in the ‘standard’ type map.

Actual result

Currently the line is not drawn on the building and gives the perception that nothing is drawn.

React Native Maps Version

1.25.0

What platforms are you seeing the problem on?

Android

React Native Version

0.79.5

What version of Expo are you using?

SDK 53

Device(s)

Emulator Pixel 9 Android 16

Additional information

I use react native CLI so I install expo to use only the expo-local-authentication library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions