Skip to content

Instantly share code, notes, and snippets.

@sergiolucero
Created January 15, 2018 22:30
Show Gist options
  • Save sergiolucero/d12f8946dcbd8f57432a05b68b7c5e5c to your computer and use it in GitHub Desktop.
Save sergiolucero/d12f8946dcbd8f57432a05b68b7c5e5c to your computer and use it in GitHub Desktop.
basic folium
import folium
f = folium.Map(location=[-33.413, -70.6], zoom_start=15)
puntos = [(-33.41138735,-70.60239197),
(-33.41411257,-70.60185419),
(-33.41389096,-70.59258862)]
for punto in puntos:
folium.Marker(punto).add_to(f)
f.save('mapa.html')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment