Browse Source

fix lat,lng

wd 7 years ago
parent
commit
6531e315ef
1 changed files with 1 additions and 1 deletions
  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));
             }
         }
     }