Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maps repeat east-to-west (as if the world was round) #97

Open
shansen5 opened this issue Feb 22, 2025 · 1 comment
Open

Maps repeat east-to-west (as if the world was round) #97

shansen5 opened this issue Feb 22, 2025 · 1 comment

Comments

@shansen5
Copy link
Collaborator

Maybe this happens in other notebooks but I just noticed it in the ECHO_modules totorial. When I zoom out on any map, or scroll left to right, the continents repeat again and again. This isn't really a bug since going due east from New York you will get to New York again and again, but our drawn features only appear on one instance of the world.

Image

@ericnost
Copy link
Member

Yea, I forgot about that! Probably the easiest thing to do would be to set a min zoom property so that users can only zoom out so far: https://stackoverflow.com/questions/48789751/set-map-boundary-and-stop-endless-panning-in-a-loop-of-folium-map

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants