Skip to content

Instantly share code, notes, and snippets.

@Dhrumilcse
Created December 11, 2018 14:27
Show Gist options
  • Save Dhrumilcse/3462b4abab586af724239478f02266de to your computer and use it in GitHub Desktop.
Save Dhrumilcse/3462b4abab586af724239478f02266de to your computer and use it in GitHub Desktop.
#Import Library
import folium
#Create base map
map = folium.Map(location=[37.296933,-121.9574983], zoom_start = 8, tiles = "Mapbox bright")
#Add Marker
folium.Marker(location=[37.4074687,-122.086669], popup = "Google HQ", icon=folium.Icon(color = 'gray')).add_to(map)
#Save the map
map.save("map1.html")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment