Commit 4fb76f15 authored by Gérald Niel's avatar Gérald Niel
Browse files

fonction ClearLayers (vider le tableau et réinitialiser le flag locate)

parent aa21a1e6
......@@ -405,7 +405,9 @@ window.addEventListener('load', async () => {
}
function clearLayer() {
layersArray = [];
layerGroup.clearLayers();
locate = -1;
}
function addToLayerGroup( elm ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment