react-native-map-clustering
react-native-map-clustering copied to clipboard
Markers disappear when zooming in on a cluster
Markers disappear when zooming in (latest library version). I'm using the Marker
component from react-native-maps
, with a bicycle icon inside. Please see the screen recording: https://streamable.com/mls23x
Same behavior even with just the default Marker
component, without the icon, if that helps. This basically makes the library unusable.
I am having the same issue, zooming in on a cluster, or having a solo marker somewhere does not show it. It works a bit better with openstreetmaps as provider but not as expected. Is someone aware of this issue? Can it be fixed? If you need more info please let me know.
I have found a similar issue on stack overflow:
https://stackoverflow.com/questions/53811877/react-native-maps-and-react-native-map-clustering
I also faced the same problem. Try downgrading to v.3.3.3. I think, it better.
Hi, @dy2-X
can you try again with version 3.4.2
?
I upgraded to 3.4.2 I don't think it fixed the issue. I have 4 markers on press it zooms in to show the markers. If I zoom out a bit so numbers 2 and 2 appear. Clicking on any of the 2s makes the camera zoom in on them. The right ones get shown but the left 2 just disappear. If I zoom back out it shows number 2 again on both locations, but by zooming back in at that point even without pressing the number I can see that the markers are not visible.
set Marker tracksViewChanges={true}
Although it's recommended to leave it on false in order to avoid bad performance. You could trigger it whenever you enter a cluster.
Any update on this? We may have to switch to a different solution, unfortunately.
Up
alo
up