Intro
Disclosure: This post may contain affiliate links. If you book through these links I may make a small commission at zero cost to you. It helps me pay for the upkeep of this blog. Thank you!
import folium
# Initialize a map centered in Montenegro
montenegro_map = folium.Map(location=[42.7, 19.3], zoom_start=8)
# List of key stops in the itinerary with coordinates
locations = {
“Podgorica (Start & End)”: [42.4304, 19.2594],
“Kotor”: [42.4247, 18.7712],
“Perast”: [42.4863, 18.6986],
“Herceg Novi”: [42.4526, 18.5312],
“Lovćen National Park”: [42.3996, 18.8333],
“Budva & Sveti Stefan”: [42.2881, 18.8454],
“Lake Skadar National Park”: [42.2400, 19.1701],
“Durmitor National Park”: [43.1510, 19.1235],
“Tara Canyon”: [43.3143, 19.0775]
}
# Add markers for each location
for place, coordinates in locations.items():
folium.Marker(
location=coordinates,
popup=place,
icon=folium.Icon(color=”blue”, icon=”info-sign”)
).add_to(montenegro_map)
# Show the map
montenegro_map