Browse Source

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

wd 7 years ago
parent
commit
c2c05c2b6b
1 changed files with 2 additions and 2 deletions
  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
 }