Questions tagged [folium]

A Python library for producing maps with Leaflet.js

Filter by
Sorted by
Tagged with
11
votes
2answers
9k views

Using Mapbox tiles with folium

I cannot find correct usage for using custom mapbox tilesets with folium. From the documentation, "Folium also supports Cloudmade and Mapbox custom tilesets- simply pass your key to the API_key ...
2
votes
4answers
6k views

Click event on maps with Folium and information retrieval

I was wondering if there is a way in Folium to get the information on an entity we click on with Folium? I'd like the map to either open a tab with the attribute information or just send back ...
8
votes
3answers
22k views

How can I include HTML in a Folium Marker popup?

I'd like to include an anchor tag in a Folium Marker popup so that I can click through to another page. Here's my code: def poptext(row): return "<a href=\"" + row['Feed']...
2
votes
1answer
368 views

Integrate sidebar with Python generated Leaflet map?

I have this map: link It was generated through Python code, not via JS directly. I want to add the Leaflet sidebar plugin within it, but it doesn't seem to work. As you can see in the github repo ...