Merge branch '2.12'

This commit is contained in:
Éric Lemoine
2012-05-16 21:05:47 +02:00
7 changed files with 81 additions and 27 deletions

View File

@@ -448,7 +448,9 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
* {DOMElement} The specific render engine's root element
*/
createRenderRoot: function() {
return this.nodeFactory(this.container.id + "_svgRoot", "svg");
var svg = this.nodeFactory(this.container.id + "_svgRoot", "svg");
svg.style.position = "absolute";
return svg;
},
/**