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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user