Closed henrymoulton closed 8 months ago
Hmm... That is really odd! I've never seen this issue before and the same thing with the Google Maps issue. I'll try to take a look at it over the next weekend if I have some time.
@JiriHoffmann I've noticed your example is running "react-native-maps": "^0.29.4",
while I'm running "react-native-maps": "1.1.0",
, will take a look quickly...
Can confirm that your example does work so it's probably a problem on my end dependency wise
I'm running "react-native": "0.66.4",
example is "react-native": "0.66.3",
so most likely the maps discrepancy.
Yeah, that definitely could be it, it seems to be an issue with rerendering on the map rather than the clustering itself
Looked into the release notes since 1.0
and couldn't see a good reason this would happen hmm.
There is some mentions of a new Google Maps renderer but can't obviously this is Apple Maps, any thoughts @JiriHoffmann ?
@JiriHoffmann I've noticed that sometimes with Storybook the clustering is fine and then when I turn off Storybook the map keeps default markers where there were previously clusters.
I do think this is a react-native-maps
bug, but unsure how to further debug...
This turned out to be a bug with Reanimated.
@henrymoulton what was the Reanimated bug?
https://user-images.githubusercontent.com/30093692/185503537-68b49817-a858-4ba8-9b12-9c088b9fa2bd.mp4
Thanks for the library, it's really cool, I've noticed a bug with the example code, when you zoom back out the pins still appear. I'd expect the pins to disspear, right?