more standardizing ids
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1417 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -42,7 +42,7 @@ OpenLayers.Feature.prototype= {
|
|||||||
this.layer = layer;
|
this.layer = layer;
|
||||||
this.lonlat = lonlat;
|
this.lonlat = lonlat;
|
||||||
this.data = (data != null) ? data : new Object();
|
this.data = (data != null) ? data : new Object();
|
||||||
this.id = OpenLayers.Util.createUniqueID('Feature_');
|
this.id = OpenLayers.Util.createUniqueID(this.CLASS_NAME + "_");
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ OpenLayers.Popup.prototype = {
|
|||||||
this.opacity = OpenLayers.Popup.OPACITY;
|
this.opacity = OpenLayers.Popup.OPACITY;
|
||||||
this.border = OpenLayers.Popup.BORDER;
|
this.border = OpenLayers.Popup.BORDER;
|
||||||
|
|
||||||
this.div = OpenLayers.Util.createDiv(this.id + "_div", null, null,
|
this.div = OpenLayers.Util.createDiv(this.id, null, null,
|
||||||
null, null, null, "hidden");
|
null, null, null, "hidden");
|
||||||
|
|
||||||
this.events = new OpenLayers.Events(this, this.div, null);
|
this.events = new OpenLayers.Events(this, this.div, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user