I'm trying to create a clickable leaflet.js map using folium and Python.
After a previous query – answered here Geopandas/folium map not displaying – I've added the polygons.
But I'm getting a little bit lost in the documentation on what to add to the output javascript to create a pop up for each polygon using the dataframe.
Can anyone give me a steer in the right direction, please?
Best Answer
Didn't have time to take a look before but following Leaflet documentation http://leafletjs.com/reference.html#geojson, you just have to change GeoJSON layer declaration from:
to :