wd 7 жил өмнө
parent
commit
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}
                 let circle = {lineWidth, strokeColor, fillColor, radius, coordinate}
                 circles.push(circle);
                 circles.push(circle);
             } else {
             } else {
-                markers.push(addOvalPointConfig(coordinate.lat, coordinate.lng, imageName, dataType));
+                markers.push(addOvalPointConfig(coordinate.latitude, coordinate.longitude, imageName, dataType));
             }
             }
         }
         }
     }
     }