-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Description
Summary
The markers for this package are broken on Android. Not only is the flickering problem persistent, but the markers are also cut off on certain Android devices:

I tried updating my package to 1.24.2 and added the necessary entries to app.json plugins array, and then I get hit with the "TurboModuleRegistry.getEnforcing(…): ‘RNMapsAirModule’ Could Not Be Found”" error. I have to revert back to version 1.20.1 for my app to even function and the flickering and cut off markers persist.
I've tried the 1.24.X versions on expo go and with development builds and I get the same RNMapsAorModule not found error.
Reproducible sample code
<MapView
ref={mapRef}
className="w-full h-full"
customMapStyle={customMapStyle || defaultMapStyle}
onRegionChangeComplete={onRegionChangeComplete}
onLongPress={(event) => {
const { coordinate } = event.nativeEvent;
setLongPressCoordinates({
lat: coordinate.latitude,
lng: coordinate.longitude
});
}}
region={{
latitude: mapCoordinates.lat,
longitude: mapCoordinates.lng,
...deltas,
}}
tracksViewChanges = {false}
>
<Marker
key={`cluster-${index}`}
coordinate={{
latitude: post.coordinates[1],
longitude: post.coordinates[0],
}}
>
<Image source={require('@/assets/images/adaptive-icon-new.png')} style={{width: 36, height: 36}}/>
</Marker>
</MapView>
Steps to reproduce
Use any custom image within the Marker component and it clips. And I am using a much more complex than this but even this doesnt work.
Expected result
the full marker should show
Actual result
the markers are clipped
React Native Maps Version
1.20.1
What platforms are you seeing the problem on?
Android
React Native Version
0.79.4
What version of Expo are you using?
SDK 53
Device(s)
Pixel 3, Pixel 7 Pro
Additional information
No response