Add className map-container-5
This commit is contained in:
parent
c2666e4e53
commit
e1354cbc66
@ -23,8 +23,14 @@ export function CityMap() {
|
|||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="map-container">
|
<div>
|
||||||
<div id="map" style={{ width: '100%', height: '100vh' }}></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>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user