From 940404e14e4ed63793b7da8866e668ec5cce0bec Mon Sep 17 00:00:00 2001 From: zakhy <=> Date: Tue, 4 Mar 2025 13:13:29 +0700 Subject: [PATCH] Fix --- apps/workerslocation/templates/wklocation_edit.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/workerslocation/templates/wklocation_edit.html b/apps/workerslocation/templates/wklocation_edit.html index 4cc028f..e3d02d4 100644 --- a/apps/workerslocation/templates/wklocation_edit.html +++ b/apps/workerslocation/templates/wklocation_edit.html @@ -351,13 +351,14 @@ // Загрузка маркеров updateMarkers(); - {#setInterval(updateMarkers, 5000)#} + setInterval(updateMarkers, 5000) } function addVlocationMarker(worker) { const point = new ol.geom.Point(ol.proj.fromLonLat([worker.lon, worker.lat])); const feature = new ol.Feature(point); feature.setProperties({ + id: worker.id, name: worker.name, lat: worker.lat, lon: worker.lon,