diff --git a/apps/main/templates/main_index.html b/apps/main/templates/main_index.html index 072e9e6..7d218d0 100644 --- a/apps/main/templates/main_index.html +++ b/apps/main/templates/main_index.html @@ -543,7 +543,7 @@ window.location.href = '{% url 'create_layer' %}' } }), 'bottom'); - map.addControl(layerSwitcher) + // map.addControl(layerSwitcher) layerSwitcher.addControl(new ol.control.Button({ html: "Редактировать слои", @@ -551,7 +551,7 @@ window.location.href = '{% url 'layers_list' %}' } }), 'bottom'); - map.addControl(layerSwitcher) + // map.addControl(layerSwitcher) const element = document.getElementById('popup') // Всплывающее окно