Change the width and zoom
This commit is contained in:
parent
e6e04cef75
commit
46a97bbb5e
@ -13,7 +13,7 @@ export function CityMap() {
|
|||||||
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: [-73.5801403, 45.4962261], // starting position [lng, lat]
|
center: [-73.5801403, 45.4962261], // starting position [lng, lat]
|
||||||
zoom: 17, // starting zoom
|
zoom: 13, // starting zoom
|
||||||
});
|
});
|
||||||
|
|
||||||
// Optionally, you can add more configuration options or features to your map here.
|
// Optionally, you can add more configuration options or features to your map here.
|
||||||
@ -23,7 +23,7 @@ export function CityMap() {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div id="map" style={{ width: '2200px', height: '100vh' }}></div>
|
<div id="map" style={{ width: '1800px', height: '100vh' }}></div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user