Change the width and zoom

This commit is contained in:
Alireza Adli 2023-10-12 17:07:12 -04:00
parent 46a97bbb5e
commit 7e53f3a97e

View File

@ -13,7 +13,7 @@ export function CityMap() {
container: 'map', // container ID
style: 'mapbox://styles/mapbox/streets-v12', // style URL
center: [-73.5801403, 45.4962261], // starting position [lng, lat]
zoom: 13, // starting zoom
zoom: 15, // starting zoom
});
// Optionally, you can add more configuration options or features to your map here.
@ -23,7 +23,7 @@ export function CityMap() {
}, []);
return (
<div id="map" style={{ width: '1800px', height: '100vh' }}></div>
<div id="map" style={{ width: '1300px', height: '100vh' }}></div>
);
}