[OpenLayers-Commits] r2000 - sandbox/vector/lib/OpenLayers/Renderer
commits at openlayers.org
commits at openlayers.org
Mon Dec 4 08:59:55 EST 2006
Author: pgiraud
Date: 2006-12-04 08:59:55 -0500 (Mon, 04 Dec 2006)
New Revision: 2000
Modified:
sandbox/vector/lib/OpenLayers/Renderer/Svg.js
Log:
fill-rule set for polygons in order to correctly render holes
Modified: sandbox/vector/lib/OpenLayers/Renderer/Svg.js
===================================================================
--- sandbox/vector/lib/OpenLayers/Renderer/Svg.js 2006-12-04 13:59:09 UTC (rev 1999)
+++ sandbox/vector/lib/OpenLayers/Renderer/Svg.js 2006-12-04 13:59:55 UTC (rev 2000)
@@ -202,6 +202,7 @@
}
}
node.setAttributeNS(null, "d", d);
+ node.setAttributeNS(null, "fill-rule", "evenodd");
this._setStyle(node, style, true, true);
this.root.appendChild(node);
More information about the Commits
mailing list