-
Notifications
You must be signed in to change notification settings - Fork 2.3k
scale control #270
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
scale control #270
Conversation
|
Wow @jelmelk ; a PR just a few minutes after the issue's report ! I think this would worth being in a separate plugin ; otherwise you force everyone to have the control.scale on his map. You can find inspiration in other plugins (like https://github.com/python-visualization/folium/blob/master/folium/plugins/terminator.py). Provided that you're also working on #265 and #267 ; tell me if you want I do a part of the job 😉 |
Awesome! Thanks for the PR @jelmelk!
👍 @jelmelk the key is the template. Note that you do not have any extra
@jelmelk I am sure @BibMartin would do this quickly, but we (myself included) most learn the new "pluginified way" to do things in folium So I recommend you take your time and ask for help as much as you need to get this ready on this PR. It will be worth the effort in the long run 😄 |
It seemed that it's something minor, same as the zoom control. But if it needs to be a separate plugin so be it, if you don't mind tackling that @BibMartin then I'll pay attention on how you do it as a future reference.
Isn't that the truth 😆 As far as #265, not only I ruined the PR by overlapping additional ones it'll take me longer to get something like that done, so it's up to you @BibMartin. For #267 I'm 100% on board. |
|
I'm in line with @ocefpaf's concern
But you're doing a great doc job in #267 and I guess this is the main priority before I'll finish up the #265 to help, and leave this PR to you as an exercise (I've never been teaching, but always dreamt to say that) ; provided there's no hurry on it. |
|
@BibMartin thank you for your help. I'll take it easy on PR for adding features while I learn the process. |
👍 |
|
@BibMartin coming back to this I don't think we should add this as a plugin. In the Maybe this a case where we could overload the Map() initialization with a new |
|
@BibMartin bringing this back to your radar. What do you think of my comment above? If you agree we can add this to |
|
Ok, see #355 |
#268
Added it to the
Mapclass. Shows up on bottom left.