Test
This commit is contained in:
parent
e1354cbc66
commit
06186b6cc9
@ -23,14 +23,8 @@ export function CityMap() {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<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 className="map-container">
|
||||
<div id="map" style={{ width: '300px', height: '100vh' }}></div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -8,7 +8,7 @@
|
||||
@media (min-width: 990px) {
|
||||
.map-container {
|
||||
top: 0;
|
||||
left: 470px;
|
||||
left: 0px;
|
||||
}
|
||||
}
|
||||
.leaflet-container {
|
||||
|
Loading…
Reference in New Issue
Block a user