You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fantastic package here, saved my life (metaphorically). But It does not download the default icon image used by leaflet.js. And the map just renders empty image frames for the icons.
However, I was able to specify a custom image icon path with image = folium.features.CustomIcon('path/to/local/image.png') and added that as an argument to folium.Marker(icon=image).add_to(my_map)
Hope this helps anyone who might have been as confounded I as I was.
The text was updated successfully, but these errors were encountered:
Ah, thanks for reporting that. I don't tend to use the default marker images in Leaflet - I usually use either custom images I supply myself, or simple circles/squares as markers.
I'll have a look and see if I can get the download of the images done as part of the automation.
No prob. Thanks for this resource. For whatever reason, trying to specify a custom icon via folium.Marker(icon=folium.Icon(<any parameters here>).add_to(my_map) didn't work either. CustomIcon was the only thing that worked for me.
Fantastic package here, saved my life (metaphorically). But It does not download the default icon image used by leaflet.js. And the map just renders empty image frames for the icons.
However, I was able to specify a custom image icon path with
image = folium.features.CustomIcon('path/to/local/image.png')
and added that as an argument tofolium.Marker(icon=image).add_to(my_map)
Hope this helps anyone who might have been as confounded I as I was.
The text was updated successfully, but these errors were encountered: