From bdfd25d3148ffe1498e6d0bc4fbb7a4031b15433 Mon Sep 17 00:00:00 2001 From: Alireza Adli Date: Fri, 13 Oct 2023 13:41:03 -0400 Subject: [PATCH] Change map to map-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 43124a29..ff13176c 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 ID + container: 'map-container', // container ID style: 'mapbox://styles/mapbox/streets-v12', // style URL center: [-73.5801403, 45.4962261], // starting position [lng, lat] zoom: 15, // starting zoom