Rename line symbolizer opacity to strokeOpacity for consistency
We already have strokeColor and strokeWidth. Having strokeOpacity makes sense.
This commit is contained in:
@@ -153,7 +153,7 @@ ol.renderer.canvas.VectorRenderer.prototype.renderLineStringFeatures_ =
|
||||
i, ii, feature, id, currentSize, geometry, components, j, jj, line, dim,
|
||||
k, kk, vec, strokeSize;
|
||||
|
||||
context.globalAlpha = symbolizer.opacity;
|
||||
context.globalAlpha = symbolizer.strokeOpacity;
|
||||
context.strokeStyle = symbolizer.strokeColor;
|
||||
context.lineWidth = symbolizer.strokeWidth;
|
||||
context.lineCap = 'round'; // TODO: accept this as a symbolizer property
|
||||
|
||||
Reference in New Issue
Block a user