-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
Labels
bugSomething isn't workingSomething isn't working