Give icons a less generic ID, for helpful debuggin in the future.

(Part of #581)


git-svn-id: http://svn.openlayers.org/trunk/openlayers@2924 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-03-29 16:24:09 +00:00
parent d86b57b7ec
commit dcd550ff31

View File

@@ -47,7 +47,8 @@ OpenLayers.Icon.prototype = {
-(size.h/2));
};
this.imageDiv = OpenLayers.Util.createAlphaImageDiv();
var id = OpenLayers.Util.createUniqueID("OL_Icon_");
this.imageDiv = OpenLayers.Util.createAlphaImageDiv(id);
},
destroy: function() {