Set the imageSrc bevore the super class is initialized in Popup.FramedCloud. Thanks avlee. r=elemeoine,me (closes #1475)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@6750 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -214,9 +214,9 @@ OpenLayers.Popup.FramedCloud =
|
|||||||
initialize:function(id, lonlat, size, contentHTML, anchor, closeBox,
|
initialize:function(id, lonlat, size, contentHTML, anchor, closeBox,
|
||||||
closeBoxCallback) {
|
closeBoxCallback) {
|
||||||
|
|
||||||
|
this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png';
|
||||||
OpenLayers.Popup.Framed.prototype.initialize.apply(this, arguments);
|
OpenLayers.Popup.Framed.prototype.initialize.apply(this, arguments);
|
||||||
this.contentDiv.className = "olFramedCloudPopupContent";
|
this.contentDiv.className = "olFramedCloudPopupContent";
|
||||||
this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png';
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user