浏览代码

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

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
             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
     return polygons
 }
 }