-
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
Legend location in a DualMap #1167
Comments
Hi @Gustacro, thanks for bringing this to our attention. The |
@Gustacro I just remembered I made a change to the DualMap plugin that hasn't been released yet. Could you perhaps install folium from our git master branch and see if that solves your issue? |
@Conengmo , I'm still getting the same result with folium version 0.9.1+14.gf05f3ce Paste my code here #Add Dual-basemap #layer definition layer_1.geojson.add_to(fg_1) ##dual map #add legend for layer 2 #======================================= #Add fullscreen widget #display map |
Please add a code sample or a nbviewer link, copy-pastable if possible
Problem description
Creating a Dual Map with two different geojson:
At the moment of adding the legends to the basemap (m), if I add one legend and define where to locate it could be grid 1(m.m1) or grid 2(m.m2) "It Works fine", but if I add the second legend, they get stack one on top of other, no mater that I assigned them to a different grid.
Also, It's there a way to move the legend to a different position in the basemap?
Expected Output
Would be that each grid of the Dual Map (basemap) contain one geojson and one legend.
Output of
folium.__version__
0.8.3
The text was updated successfully, but these errors were encountered: