diff --git a/apps/main/templates/main_index.html b/apps/main/templates/main_index.html index 177f630..65d0148 100644 --- a/apps/main/templates/main_index.html +++ b/apps/main/templates/main_index.html @@ -119,14 +119,17 @@ // Инициализация менеджеров маркеров const gtoLayer = new ol.layer.Vector({source: new ol.source.Vector()}); gtoLayer.set('title', 'Горнотранспортное оборудование') + gtoLayer.set('name', 'gto') const gtoManager = new MarkerManager(gtoLayer, GTOStyleFunction); const workerLayer = new ol.layer.Vector({source: new ol.source.Vector()}); workerLayer.set('title', 'Местоположение персонала') + workerLayer.set('name', 'vlo') const workerManager = new MarkerManager(workerLayer, VlocationStyleFunction); const seismicLayer = new ol.layer.Vector({source: new ol.source.Vector()}); seismicLayer.set('title', 'Сейсмическая активность') + seismicLayer.set('name', 'sei') const seismicManager = new MarkerManager(seismicLayer, SPStyleFunction); mapCore.addLayer(gtoLayer, 'dynamic'); @@ -149,6 +152,7 @@ ) }); scanLayer.set('title', 'Ортофотоплан') + scanLayer.set('name', 'orto') mapCore.addLayer(scanLayer) const mineBorderLayer = new ol.layer.Vector({ @@ -160,6 +164,7 @@ style: polygonStyleFunction, }); mineBorderLayer.set('title', 'Границы ПРГР') + mineBorderLayer.set('name', 'prgr') mapCore.addLayer(mineBorderLayer)