-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugAn issue describing unexpected or malicious behaviourAn issue describing unexpected or malicious behaviour
Description
GeoPandas CI is failing with Folium main due to the icon passed to the marker no longer being used.
import folium
fc = {'type': 'FeatureCollection',
'features': [{'id': '0',
'type': 'Feature',
'properties': {'name': 'Vatican City'},
'geometry': {'type': 'Point', 'coordinates': (12.4533865, 41.9032822)},
'bbox': (12.4533865, 41.9032822, 12.4533865, 41.9032822)}],
'bbox': (12.4533865, 41.9032822, 12.4533865, 41.9032822)}
m = folium.Map()
marker = folium.Marker(icon=folium.Icon(icon="star"))
folium.GeoJson(
fc,
marker=marker,
).add_to(m)
m
This creates a marker with a star symbol in folium 0.19.4 but uses default on main.
Metadata
Metadata
Assignees
Labels
bugAn issue describing unexpected or malicious behaviourAn issue describing unexpected or malicious behaviour