-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
create maps with synchronization #232
Comments
👍 |
@BibMartin any idea on how to proper implement this? In the old days of folium I would probably overload the |
Yes, it can either be an attribute in the Map object. I would think of something like mapA.syncWith = [mapB, mapC] yielding mapA.sync(mapB);
mapA.sync(mapC); Or it can be a plugin. mapA.add_children(plugins.SyncWith(mapB)) In both cases, I guess a function creating back-and-forth sync would be useful. def sync_maps(mapA,mapB):
mapA.syncWith.append(mapB) # or the other syntax
mapB.syncWith.append(mapA) # or the other syntax I'd be glad to do this as soon as |
Indeed! Let's put out efforts on getting |
And by jwass/mplleaflet#35 (comment) 👻 |
Guilty 😳 |
This can be done with branca leaving http://nbviewer.jupyter.org/github/python-visualization/folium/blob/master/examples/Features.ipynb (Although syncing is not enabled there.) |
Ok thanks for the link on branca project. |
That looks really cool! Thanks for sharing. I will take a look as soon as the dust settle in my day job. Pinging @BibMartin who might also be interested. |
Any interest to have synchronized view of maps.
There is plugin for that: https://github.com/turban/Leaflet.Sync and a nice example http://blog.thematicmapping.org/2013/06/creating-synchronized-view-of-two-maps.html
I would need some advices on how to start this implementation.
The text was updated successfully, but these errors were encountered: