Explorar el Código

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

wd hace 7 años
padre
commit
c2c05c2b6b
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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
 }