clustering-google-map-react icon indicating copy to clipboard operation
clustering-google-map-react copied to clipboard

On scrolling on left or right clusters are disappeared on new part of map

Open alex-semenyuk opened this issue 5 years ago • 1 comments

@Tim152 Hey, thank you for your example! Maybe do you know why on scrolling on left or right clusters are disappeared on new part of map. You can see this problem if upgrade google-map-react version at least to 1.0.5 till last version. Do you have any idea how to fix this?

alex-semenyuk avatar Nov 30 '19 20:11 alex-semenyuk

@alex-semenyuk hi! If I got correctly, clusters/markers disappear when you scroll right or left to the same place, then the problem is in calculating of bounds, generated by google-maps-react, in new versions they don't equal to each other in the same place, so markers cords is outside of bounds and doesn't appear.

I'll try to figure out.

cheesytim avatar Dec 02 '19 09:12 cheesytim