teovillanueva / react-native-web-maps

Cross platform maps for react & react-native 🗺
https://teovillanueva.github.io/react-native-web-maps/
MIT License
54 stars 14 forks source link

Fix custom marker initial incorrect position #35

Closed YoussefHenna closed 8 months ago

YoussefHenna commented 8 months ago

An issue with @react-google-maps/api is causing custom markers to initially show with invalid position/offset. The underlying cause is getPixelPositionOffset is not called on the initial render. Using OverlayViewF instead OverlayView addresses the issue. https://github.com/JustFly1984/react-google-maps-api/issues/3209

@teovillanueva A small one, but would be great to get in 🙂

YoussefHenna commented 8 months ago

@teovillanueva Any chance we can get this in this week?

teovillanueva commented 8 months ago

Hi @YoussefHenna, I'm sorry for the delay. Merging!