Change the width and zoom
This commit is contained in:
parent
ed8e4713ec
commit
c71f5c8261
@ -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: 9, // 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: '1600px', height: '100vh' }}></div>
|
<div id="map" style={{ width: '2200px', height: '100vh' }}></div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user