mirror of
https://gitlab.aliens-lyon.fr/encartes/web-interface.git
synced 2026-09-11 18:00:45 +02:00
Correction d'un bug lié à la mise sous commentaire des layers
This commit is contained in:
+8
-3
@@ -116,10 +116,15 @@ function Map({callbackRoomSelected, selectedRoom})
|
||||
|
||||
const layers = buildLayers(request3);
|
||||
return <MapContainer center={[0,0]} zoom={4} scrollWheelZoom={true} style={{flexGrow: '1'}}>
|
||||
//<LayersControl position="topright">
|
||||
{layers}
|
||||
//</LayersControl>
|
||||
{layers}
|
||||
</MapContainer>
|
||||
|
||||
/*return <MapContainer center={[0,0]} zoom={4} scrollWheelZoom={true} style={{flexGrow: '1'}}>
|
||||
<LayersControl position="topright">
|
||||
{layers}
|
||||
</LayersControl>
|
||||
</MapContainer>
|
||||
*/
|
||||
/*
|
||||
return <MapContainer center={[0,0]} zoom={0} scrollWheelZoom={true} style={{flexGrow: '1'}}>
|
||||
<Polygon positions={[[85,-1142],[85,1142],[-85,1142],[-85,-1142]]}></Polygon>
|
||||
|
||||
Reference in New Issue
Block a user