瀏覽代碼

fix lat,lng

wd 7 年之前
父節點
當前提交
6531e315ef
共有 1 個文件被更改,包括 1 次插入1 次删除
  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));
             }
         }
     }