From ab57408a9febf1c2696975b618ccbc3804592df5 Mon Sep 17 00:00:00 2001 From: zakhy <=> Date: Mon, 14 Apr 2025 16:49:35 +0700 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=B4=D0=B0=D0=BB=20name=20=D1=81?= =?UTF-8?q?=D0=BB=D0=BE=D1=8F=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/main/templates/main_index.html | 5 +++++ 1 file changed, 5 insertions(+) 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)