Kaynağa Gözat

fix lat,lng

wd 7 yıl önce
ebeveyn
işleme
6531e315ef
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -74,7 +74,7 @@ function getCirclesAndMarkers(airspaceInfos, setStyle, currentAirspaceIndex) {
                 let circle = {lineWidth, strokeColor, fillColor, radius, coordinate}
                 circles.push(circle);
             } else {
-                markers.push(addOvalPointConfig(coordinate.lat, coordinate.lng, imageName, dataType));
+                markers.push(addOvalPointConfig(coordinate.latitude, coordinate.longitude, imageName, dataType));
             }
         }
     }