VML renderer fails to render features without strokeOpacity set. r=crschmidt (closes #1276)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5774 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -240,7 +240,9 @@ OpenLayers.Renderer.VML = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
||||
stroke = this.createNode('v:stroke', node.id + "_stroke");
|
||||
node.appendChild(stroke);
|
||||
}
|
||||
stroke.setAttribute("opacity", style.strokeOpacity);
|
||||
if (style.strokeOpacity) {
|
||||
stroke.setAttribute("opacity", style.strokeOpacity);
|
||||
}
|
||||
stroke.setAttribute("endcap", !style.strokeLinecap || style.strokeLinecap == 'butt' ? 'flat' : style.strokeLinecap);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user