Skip to content

Commit

Permalink
Adds line width unit pixel
Browse files Browse the repository at this point in the history
  • Loading branch information
mholthausen committed May 10, 2021
1 parent aa3eebf commit 1b09ed8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/QGISStyleParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,8 @@ export class QGISStyleParser implements StyleParser {
offset_unit: 'Pixel',
joinstyle: symbolizer.join,
capstyle: symbolizer.cap,
line_width: symbolizer.width
line_width: symbolizer.width,
line_width_unit: 'Pixel'
};
if (symbolizer.dasharray) {
qmlProps.customdash = symbolizer.dasharray.join(';');
Expand Down

0 comments on commit 1b09ed8

Please sign in to comment.