소스 검색

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

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
 }