Вырезал захардкоженный слой с пргр

This commit is contained in:
zakhy 2025-05-14 10:41:47 +07:00
parent 488d6355b6
commit e6aa5a532f
4 changed files with 0 additions and 54 deletions

View File

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

View File

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

View File

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

View File

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