ソースを参照

修复带宽度线型外面线比较粗的问题

wd 7 年 前
コミット
c2c05c2b6b
1 ファイル変更2 行追加2 行削除
  1. 2 2
      index.js

+ 2 - 2
index.js

@@ -299,8 +299,8 @@ function processAirlineWidth(lines, airlineWidth) {
             lastBearing = bearing
         }
 
-        let {imageName, lineWidth, strokeColor, fillColor} = getDefaultStyle()
-        polygons.push({lineWidth, strokeColor, fillColor, coordinates});
+        let {imageName, strokeColor, fillColor} = getDefaultStyle()
+        polygons.push({lineWidth: 1, strokeColor, fillColor, coordinates});
     }
     return polygons
 }