[OpenLayers-Trac] Re: [OpenLayers] #3611: Wrong DOM API calls to
setAttributeNS()
OpenLayers
trac-20090302 at openlayers.org
Tue Jan 24 05:42:42 EST 2012
#3611: Wrong DOM API calls to setAttributeNS()
----------------------------------------------------------------------+-----
Reporter: vog | Owner: ahocevar
Type: bug | Status: new
Priority: major | Milestone: 2.12 Release
Component: Renderer.SVG | Version: 2.11
Keywords: setAttributeNS browser compatibility juniper ssl gateway | State: Needs More Work
----------------------------------------------------------------------+-----
Changes (by ahocevar):
* state: Awaiting User Feedback => Needs More Work
Comment:
Well, there is one thing you could do in addition to the patch, which is
mapping the xlink namespace to the "xlink" prefix in the svg root, by
changing the createRenderRoot method. Something like this (untested):
{{{
createRenderRoot: function() {
var root = this.nodeFactory(this.container.id + "_svgRoot",
"svg");
root.setAttributeNS("http://www.w3.org/2000/xmlns/", "xlink",
this.xlinkns);
return root;
},
}}}
--
Ticket URL: <http://trac.openlayers.org/ticket/3611#comment:2>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list