Slippy maps with folium+leaflet

  • I have a problem
  • I do not know JS
  • I do not want to learn JS
  • but I love leaflet maps...

The notebook that saved me!

http://nbviewer.ipython.org/gist/wrobstory/1eb8cb704a52d18b9ee8/Up and Down PyData 2014.ipynb

My anti-gravity moment

My first folium map

import folium

width, height = 650, 500
radars = folium.Map(location=[40, -122], zoom_start=5,
                    tiles='OpenStreetMap',
                    width=width, height=height)

for name, location in locations.items():
    radars.simple_marker(location=location, popup=name)

The project is under active development

but we need help!

Examples

What to expect in the next few months

  • leaflet plugins
    • leaflet.time.dimension
    • HeatCanvas
    • AnimatedMarker
    • geoCSV/Shapefile

Thank you!