Is this a bug report?
Yes
Yes
Environment
react-native: 0.59.3
react: 16.8.3
react-native-maps: 0.23.0
iOS - 12.2 Simulator/iPhone 6, AppleMaps
Steps to Reproduce
- Add an Overlay to the map
- Zoom in/zoom out
Expected Behavior
Overlay in Maps should be visible all the time without any changes based on zoom.
Actual Behavior
Zoom in/out : https://www.youtube.com/watch?v=A3wf40oubeA
Cropped overlay :

Reproducible Demo
https://snack.expo.io/rJyS_AOYN
I tried to dig a bit in the implementation but my Objective-C knowledges are close to none. Despite, I think from my tests that the drawMapRect() delegate function in lib/ios/AirMaps/AIRMapOverlayRenderer.m is not called when it should be.
Could it be a MapKit issue ? I successfully did a small repro on an empty native project with MapKit's Swift version and it was working great, but it doesn't really mean anything.
Could it come from a lack of implementation of the zoomScale:(MKZoomScale) parameter in the Air component ?
Sorry for the possibly duplicate, I tried many fixes suggested in related issues (#2135, #2776, ...) and none of them worked 😞
Is this a bug report?
Yes
Have you read the Installation Instructions?
Yes
Environment
iOS - 12.2 Simulator/iPhone 6, AppleMaps
Steps to Reproduce
Expected Behavior
Overlay in Maps should be visible all the time without any changes based on zoom.
Actual Behavior
Zoom in/out : https://www.youtube.com/watch?v=A3wf40oubeA
Cropped overlay :

Reproducible Demo
https://snack.expo.io/rJyS_AOYN
I tried to dig a bit in the implementation but my Objective-C knowledges are close to none. Despite, I think from my tests that the
drawMapRect()delegate function in lib/ios/AirMaps/AIRMapOverlayRenderer.m is not called when it should be.Could it be a MapKit issue ? I successfully did a small repro on an empty native project with MapKit's Swift version and it was working great, but it doesn't really mean anything.
Could it come from a lack of implementation of the
zoomScale:(MKZoomScale)parameter in the Air component ?Sorry for the possibly duplicate, I tried many fixes suggested in related issues (#2135, #2776, ...) and none of them worked 😞