Fix
This commit is contained in:
parent
268da30d6a
commit
940404e14e
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user