Add className map-container-5

This commit is contained in:
Alireza Adli 2023-10-19 14:39:05 -04:00
parent c2666e4e53
commit e1354cbc66

View File

@ -23,8 +23,14 @@ export function CityMap() {
}, []);
return (
<div className="map-container">
<div id="map" style={{ width: '100%', height: '100vh' }}></div>
<div>
<head>
<link href='https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.css' rel='stylesheet' />
<script src='https://api.mapbox.com/mapbox-gl-js/v2.14.1/mapbox-gl.js'></script>
</head>
<div className="map-container">
<div id="map" style={{ width: '300px', height: '100vh' }}></div>
</div>
</div>
);
}