Change the order of lat and lng

This commit is contained in:
Alireza Adli 2023-10-05 16:27:29 -04:00
parent 90bb71dac9
commit dec12d19cd

View File

@ -12,7 +12,7 @@ export function CityMap() {
const map = new mapboxgl.Map({
container: 'map', // container ID
style: 'mapbox://styles/mapbox/streets-v12', // style URL
center: [45.4962261, -73.5801403], // starting position [lng, lat]
center: [-73.5801403, 45.4962261], // starting position [lng, lat]
zoom: 9, // starting zoom
});