From e6aa5a532f0978b33f12aa6f33b5a37fd983897d Mon Sep 17 00:00:00 2001 From: zakhy <=> Date: Wed, 14 May 2025 10:41:47 +0700 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D1=80=D0=B5=D0=B7=D0=B0=D0=BB=20?= =?UTF-8?q?=D0=B7=D0=B0=D1=85=D0=B0=D1=80=D0=B4=D0=BA=D0=BE=D0=B6=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D0=B9=20=D1=81=D0=BB=D0=BE=D0=B9=20=D1=81=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B3=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/gto/templates/gto_main.html | 13 ------------- apps/main/templates/main_index.html | 13 ------------- .../workerslocation/templates/wklocation_edit.html | 14 -------------- apps/workerslocation/templates/wklocation_map.html | 14 -------------- 4 files changed, 54 deletions(-) diff --git a/apps/gto/templates/gto_main.html b/apps/gto/templates/gto_main.html index 708e8b3..e8c4d29 100644 --- a/apps/gto/templates/gto_main.html +++ b/apps/gto/templates/gto_main.html @@ -420,19 +420,6 @@ mapCore.addLayer(gtoLayer, 'dynamic'); - const mineBorderLayer = new ol.layer.Vector({ - source: new ol.source.Vector({ - url: '/{{ prgr }}', - format: new ol.format.KML({extractStyles: false}), - - }), - style: polygonStyleFunction, - }); - mineBorderLayer.set('title', 'Границы ПРГР') - mineBorderLayer.set('name', 'prgr') - - mapCore.addLayer(mineBorderLayer) - // Инициализация статических слоев const createdLayersManager = new CreatedLayersManager({ url: '{% url 'layers' %}', diff --git a/apps/main/templates/main_index.html b/apps/main/templates/main_index.html index 940a539..404f4a9 100644 --- a/apps/main/templates/main_index.html +++ b/apps/main/templates/main_index.html @@ -136,19 +136,6 @@ mapCore.addLayer(workerLayer, 'dynamic'); mapCore.addLayer(seismicLayer, 'dynamic'); - const mineBorderLayer = new ol.layer.Vector({ - source: new ol.source.Vector({ - url: '/{{ prgr }}', - format: new ol.format.KML({extractStyles: false}), - - }), - style: polygonStyleFunction, - }); - mineBorderLayer.set('title', 'Границы ПРГР') - mineBorderLayer.set('name', 'prgr') - - mapCore.addLayer(mineBorderLayer) - // Инициализация статических слоев const createdLayersManager = new CreatedLayersManager({ url: '{% url 'layers' %}', diff --git a/apps/workerslocation/templates/wklocation_edit.html b/apps/workerslocation/templates/wklocation_edit.html index 1607c7d..a9b9fd7 100644 --- a/apps/workerslocation/templates/wklocation_edit.html +++ b/apps/workerslocation/templates/wklocation_edit.html @@ -122,20 +122,6 @@ mapCore.addLayer(workerLayer, 'dynamic'); - const mineBorderLayer = new ol.layer.Vector({ - source: new ol.source.Vector({ - url: '/{{ prgr }}', - format: new ol.format.KML({extractStyles: false}), - - }), - style: polygonStyleFunction, - }); - mineBorderLayer.set('title', 'Границы ПРГР') - mineBorderLayer.set('name', 'prgr') - - mapCore.addLayer(mineBorderLayer) - - // Инициализация статических слоев const createdLayersManager = new CreatedLayersManager({ url: '{% url 'layers' %}', diff --git a/apps/workerslocation/templates/wklocation_map.html b/apps/workerslocation/templates/wklocation_map.html index ac1097f..12e5fbf 100644 --- a/apps/workerslocation/templates/wklocation_map.html +++ b/apps/workerslocation/templates/wklocation_map.html @@ -122,20 +122,6 @@ mapCore.addLayer(workerLayer, 'dynamic'); - const mineBorderLayer = new ol.layer.Vector({ - source: new ol.source.Vector({ - url: '/{{ prgr }}', - format: new ol.format.KML({extractStyles: false}), - - }), - style: polygonStyleFunction, - }); - mineBorderLayer.set('title', 'Границы ПРГР') - mineBorderLayer.set('name', 'prgr') - - mapCore.addLayer(mineBorderLayer) - - // Инициализация статических слоев const createdLayersManager = new CreatedLayersManager({ url: '{% url 'layers' %}',