Fix DOM API call to setAttributeNS()
This commit is contained in:
@@ -282,7 +282,7 @@ OpenLayers.Renderer.SVG = OpenLayers.Class(OpenLayers.Renderer.Elements, {
|
|||||||
node.setAttributeNS(null, "y", (pos.y + yOffset).toFixed());
|
node.setAttributeNS(null, "y", (pos.y + yOffset).toFixed());
|
||||||
node.setAttributeNS(null, "width", width);
|
node.setAttributeNS(null, "width", width);
|
||||||
node.setAttributeNS(null, "height", height);
|
node.setAttributeNS(null, "height", height);
|
||||||
node.setAttributeNS(this.xlinkns, "href", style.externalGraphic);
|
node.setAttributeNS(this.xlinkns, "xlink:href", style.externalGraphic);
|
||||||
node.setAttributeNS(null, "style", "opacity: "+opacity);
|
node.setAttributeNS(null, "style", "opacity: "+opacity);
|
||||||
node.onclick = OpenLayers.Event.preventDefault;
|
node.onclick = OpenLayers.Event.preventDefault;
|
||||||
} else if (this.isComplexSymbol(style.graphicName)) {
|
} else if (this.isComplexSymbol(style.graphicName)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user