From 5e026f12359be3fc4f20995c7b26ec164d37a78b Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Fri, 19 Apr 2024 16:04:15 -0400 Subject: [PATCH] centre of map --- docs/source/map.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/source/map.py b/docs/source/map.py index 49b4fffd7..791137390 100644 --- a/docs/source/map.py +++ b/docs/source/map.py @@ -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"]: