Skip to content

Commit

Permalink
centre of map
Browse files Browse the repository at this point in the history
  • Loading branch information
RemDelaporteMathurin committed Apr 19, 2024
1 parent 8004559 commit 5e026f1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/source/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ def generate_map():
data = json.load(f)

# Create a map centered on a specific location
m = folium.Map(location=[42, -71], zoom_start=5, tiles="cartodbpositron")
m = folium.Map(
location=[42.256349987281666, -37.61204625889672],
zoom_start=3,
tiles="cartodbpositron",
)

marker_cluster = MarkerCluster().add_to(m)
# Iterate over features in the GeoJSON data
for feature in data["features"]:
Expand Down

0 comments on commit 5e026f1

Please sign in to comment.