Closed hipertracker closed 7 years ago
I created an example to reproduce the bug. https://github.com/hipertracker/cerebral-googlemap
See problems in your code I'm pretty sure that all is very accurate. Or try to explain your issue more precisely.
The source code example is fixed (it had missing .env file). I don't know what I am doing wrong, lat
and lng
attributes of my cluster component does not correspond to the location of the cluster marker. When I zoom out the map, the cluster icon is moving to the right place, more and more. I have created a screencast showing the case: https://www.youtube.com/watch?v=EU9wSxTNOEA
And now you want me to check your code? I have no time for this. You can create a PR here with initial markers location as like as in your example, and if current example will work the same I'll take a look when i'll have time.
I found the what was the problem. It's was my cluster icon used as the background-image. It needed some margin left and top correction.
The cluster icon is not placed on the map in the proper place. It's very inaccurate. :(