fix
This commit is contained in:
parent
0ea5d67901
commit
e02d60c588
@ -377,8 +377,8 @@
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
data.forEach(worker => {
|
||||
if (m_markers[worker.id]) {
|
||||
const marker = m_markers[worker.id];
|
||||
if (VlocationMarkers[worker.id]) {
|
||||
const marker = VlocationMarkers[worker.id];
|
||||
const currentCoordinates = marker.getGeometry().getCoordinates();
|
||||
const newCoordinates = ol.proj.fromLonLat([worker.lon, worker.lat]);
|
||||
|
||||
|
||||
@ -356,8 +356,8 @@
|
||||
data.forEach(worker => {
|
||||
let tableRow = createWorkersTableRow(worker)
|
||||
workersTableBody.appendChild(tableRow)
|
||||
if (m_markers[worker.id]) {
|
||||
const marker = m_markers[worker.id];
|
||||
if (VlocationMarkers[worker.id]) {
|
||||
const marker = VlocationMarkers[worker.id];
|
||||
const currentCoordinates = marker.getGeometry().getCoordinates();
|
||||
const newCoordinates = ol.proj.fromLonLat([worker.lon, worker.lat]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user