Skip to content

Instantly share code, notes, and snippets.

@hhatto
Created May 21, 2013 15:37
Show Gist options
  • Save hhatto/5620773 to your computer and use it in GitHub Desktop.
Save hhatto/5620773 to your computer and use it in GitHub Desktop.
import folium
# osaka
osaka_location = [34.702, 135.4951]
mapobj = folium.Map(location=osaka_location,
zoom_start=15)
mapobj.simple_marker(osaka_location, popup='Osaka Station')
mapobj.circle_marker(osaka_location, popup='An on foot 5-minute within the circle',
radius=500, fill_color='#33cccc')
mapobj.create_map(path='osm.html')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment