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' %}',