From 41f71fe132b78df2ebfed4348a53f37d7de4b1cd Mon Sep 17 00:00:00 2001 From: zakhy <=> Date: Mon, 24 Feb 2025 11:13:57 +0700 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=87=D1=82=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/main/templates/main_index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') // Всплывающее окно