Remove useless dependencies and change default location

This commit is contained in:
Adrien Vannson
2022-10-07 13:33:46 +02:00
parent b6ab300e23
commit 9510bcd3eb
3 changed files with 6 additions and 270 deletions
+2 -2
View File
@@ -81,12 +81,12 @@ function TopBar() {
}
function Map() {
return <MapContainer center={[51.505, -0.09]} zoom={13} scrollWheelZoom={false} style={{flexGrow: '1'}}>
return <MapContainer center={[45.729811, 4.827768]} zoom={16} scrollWheelZoom={false} style={{flexGrow: '1'}}>
<TileLayer
attribution='&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
url="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"
/>
<Marker position={[51.505, -0.09]}>
<Marker position={[45.729811, 4.827768]}>
<Popup>
A pretty CSS3 popup. <br /> Easily customizable.
</Popup>