Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
277 B
1
Indexable
Never
import folium

# Create a Map instance
mymap = folium.Map(location=[37.7749, -122.4194], zoom_start=12)  # San Francisco coordinates

# Add a marker
folium.Marker([37.7749, -122.4194], popup='San Francisco').add_to(mymap)

# Save the map to an HTML file
mymap.save('map.html')