Change the order of lat and lng
This commit is contained in:
parent
90bb71dac9
commit
dec12d19cd
@ -12,7 +12,7 @@ export function CityMap() {
|
|||||||
const map = new mapboxgl.Map({
|
const map = new mapboxgl.Map({
|
||||||
container: 'map', // container ID
|
container: 'map', // container ID
|
||||||
style: 'mapbox://styles/mapbox/streets-v12', // style URL
|
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
|
zoom: 9, // starting zoom
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user