From 7d517ed1bc82bd6b155a40ce1e3a3f5816618511 Mon Sep 17 00:00:00 2001 From: Alireza Adli Date: Fri, 13 Oct 2023 13:42:33 -0400 Subject: [PATCH] Change map to leaflet-container --- app/src/frontend/map/layers/city-base-map-layer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/frontend/map/layers/city-base-map-layer.tsx b/app/src/frontend/map/layers/city-base-map-layer.tsx index ff13176c..e3300894 100644 --- a/app/src/frontend/map/layers/city-base-map-layer.tsx +++ b/app/src/frontend/map/layers/city-base-map-layer.tsx @@ -10,7 +10,7 @@ mapboxgl.accessToken = 'pk.eyJ1IjoiYWxpLWFkbGkiLCJhIjoiY2xuM2JtYjV1MGE5djJrb2d5O export function CityMap() { useEffect(() => { const map = new mapboxgl.Map({ - container: 'map-container', // container ID + container: 'leaflet-container', // container ID style: 'mapbox://styles/mapbox/streets-v12', // style URL center: [-73.5801403, 45.4962261], // starting position [lng, lat] zoom: 15, // starting zoom