folium
folium copied to clipboard
Python Data. Leaflet.js Maps.
Hi guys, I am not pretty sure if that's the best place to ask, since I am not sure I found a bug or it is just me that I...
In short, is it possible to have Folium generate a map whereby the map is zoomed and/or bounding box changed when the user changes the layer? I'm currently using FeatureGroups...
#### Please add a code sample or a nbviewer link, copy-pastable if possible ```python # Your code here # Add Dual-basemap m = folium.plugins.DualMap(location=target_city, zoom_start = 9, tiles= 'openstreetmap') #...
The HTML generated by folium is quite verbose which leads to big files when you have 2000 markers for example. * The javascript is not separate from the HTML which...
If you have multiple features on a geojson file, it would be handy to keep the features as 'abstract' layers to select which style to be used. By 'abstract' here...
I've tried using `VectorGridProtobuf` several times in the past and almost always found myself making a copy of this class and adding functionality to click a polygon and get the...
**Describe the bug** It seems if a backslash followed by a number is included in the text of a popup, the map will fail to generate. Once the map is...
Closes https://github.com/python-visualization/folium/issues/1932. - [X] Fixes the geopandas (or any `__geo_interface__` object) styling regression. - [x] Amend the docs with a CAVEAT regarding Late Binding Closures when using `style_function` in a...
**Describe the bug** Both in a loop or using a GeoDataframe, only the last style is applied to all geometries. We can see that in our docs: ![Screenshot from 2024-04-16...