|
|
@@ -441,7 +441,8 @@ export function getShapesSelector(airspaceInfos, style, currentAirspaceIndex) {
|
|
|
|
|
|
//获取数组
|
|
|
export function getShapes(airspaceInfos, style, currentAirspaceIndex) {
|
|
|
- let {markers, polygons, circles, lines, regionPoints} = getShapesSelector((airspaceInfos)=>airspaceInfos, style, currentAirspaceIndex)
|
|
|
+ let {markers, polygons, circles, lines, regionPoints} =
|
|
|
+ getShapesSelector((airspaceInfos)=>airspaceInfos, style, (currentAirspaceIndex)=>currentAirspaceIndex)
|
|
|
return {
|
|
|
markers: markers(airspaceInfos),
|
|
|
circles: circles(airspaceInfos),
|