diff options
-rw-r--r-- | main.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -612,7 +612,7 @@ map.addLayer(new VectorTileLayer({ elem.children.forEach(function(child) { child._layers.forEach((l) => elem._layers.push(l)); }); - }; + } }); })(layerHierarchy); @@ -673,7 +673,7 @@ map.addLayer(new VectorTileLayer({ if (child.children !== undefined && child.children.length > 0) { addAccordionGroup(li, child.children); - }; + } input.onclick = function(event) { return onClickFunction(child._layers, event); |