#700: A small patch to let the user specify the linecap style of a feature.
Thanks, fredj! git-svn-id: http://svn.openlayers.org/trunk/openlayers@3204 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -179,6 +179,7 @@ OpenLayers.Renderer.SVG.prototype =
|
||||
node.setAttributeNS(null, "stroke", style.strokeColor);
|
||||
node.setAttributeNS(null, "stroke-opacity", style.strokeOpacity);
|
||||
node.setAttributeNS(null, "stroke-width", style.strokeWidth);
|
||||
node.setAttributeNS(null, "stroke-linecap", style.strokeLinecap);
|
||||
} else {
|
||||
node.setAttributeNS(null, "stroke", "none");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user