Skip to content

Commit

Permalink
Update src/print/VectorEncoder.js
Browse files Browse the repository at this point in the history
Co-Authored-By: gberaudo <guillaume.beraudo@camptocamp.com>
  • Loading branch information
llienher and gberaudo committed Nov 26, 2019
1 parent bffebc7 commit 5256239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/print/VectorEncoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ VectorEncoder.prototype.encodeVectorStyleStroke = function(symbolizer, strokeSty
}
const strokeColorRgba = asColorArray(strokeColor);
if (!(Array.isArray(strokeColorRgba))) {
throw new Error('StrokeColor is not an array');
throw new Error('parsed StrokeColor is not an array');
}
symbolizer.strokeColor = rgbArrayToHex(strokeColorRgba);
symbolizer.strokeOpacity = strokeColorRgba[3];
Expand Down

0 comments on commit 5256239

Please sign in to comment.