Named mark definitions need to be stored on each renderer root. This change gives each defs node a unique id based on the renderer id. r=ahocevar (closes #1849)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@8459 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2008-12-06 20:50:50 +00:00
parent da07d0df2f
commit f9c814a34a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -406,7 +406,7 @@
r.importSymbol("square");
var polygon = document.getElementById("ol-renderer-defs").firstChild.firstChild;
var polygon = document.getElementById(r.container.id + "_defs").firstChild.firstChild;
var points = polygon.getAttribute("points");