Correction d'un bug lié à la mise sous commentaire des layers

This commit is contained in:
Gabriel Dehame 2023-01-10 17:39:58 +01:00
parent c7d5356454
commit bf3f35f380

View File

@ -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>