Google-map-react: Markers jump to the top left/bottom right corner on map zoom in/zoom out

Created on 12 Mar 2018  路  4Comments  路  Source: google-map-react/google-map-react

Any example of map with markers I checked has this behavior: when you zoom in/zoom our, markers disappear, then appear in the top left or bottom right corner and then quickly get to their position. Is this an intended behavior? How can I make the markers stay at their positions on zoom?

Some examples with this behavior:
https://jsbin.com/roqutisoqu/1/edit?js,console,output
https://jsbin.com/molerasebo/2/edit?js,console,output
http://istarkov.github.io/google-map-react/map/simple/

Most helpful comment

I guess it has been fixed in the latest version

All 4 comments

I guess it has been fixed in the latest version

Thanks, upgrading to google-map-react 0.34.0 solved the problem.

Thanks for helping out @pierreberchtold.

@kirylkliushkin There is a little bit more information about the issue here: https://github.com/istarkov/google-map-react/pull/530

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zander312 picture zander312  路  3Comments

VLNTNA picture VLNTNA  路  4Comments

thehulke picture thehulke  路  3Comments

edcolcode picture edcolcode  路  3Comments

StephenMayeux picture StephenMayeux  路  4Comments