#!/usr/bin/env python # coding: utf-8 # In[1]: import os import folium print(folium.__version__) # In[2]: from folium.plugins import Draw m = folium.Map() draw = Draw() draw.add_to(m) m.save(os.path.join('results', 'Draw0.html')) m # In[3]: m = folium.Map(location=[-27.23, -48.36], zoom_start=12) draw = Draw(export=True) draw.add_to(m) m.save(os.path.join('results', 'Draw1.html')) m