|
@@ -31,15 +31,15 @@ function getCircles(airspaceInfos, setStyle, currentAirspaceIndex) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
let {lineWidth, strokeColor, fillColor} = getDefaultStyle()
|
|
let {lineWidth, strokeColor, fillColor} = getDefaultStyle()
|
|
|
-
|
|
|
|
|
|
|
+ //通过该方法获取样式
|
|
|
|
|
+ let circleStyle = setStyle('circle');
|
|
|
if(circleStyle) {
|
|
if(circleStyle) {
|
|
|
lineWidth = circleStyle.lineWidth
|
|
lineWidth = circleStyle.lineWidth
|
|
|
strokeColor = circleStyle.strokeColor
|
|
strokeColor = circleStyle.strokeColor
|
|
|
fillColor = circleStyle.fillColor
|
|
fillColor = circleStyle.fillColor
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //通过该方法获取样式
|
|
|
|
|
- let circleStyle = setStyle('circle');
|
|
|
|
|
|
|
+
|
|
|
for (let i = 0; i < airspaceInfos.length; i++) {
|
|
for (let i = 0; i < airspaceInfos.length; i++) {
|
|
|
let tmpCircle = airspaceInfos[i]
|
|
let tmpCircle = airspaceInfos[i]
|
|
|
let airspaceTypeFix, radiusFix
|
|
let airspaceTypeFix, radiusFix
|