diff --git a/lib/OpenLayers/Popup/FramedCloud.js b/lib/OpenLayers/Popup/FramedCloud.js index f99eaa250e..cf3bdb3640 100644 --- a/lib/OpenLayers/Popup/FramedCloud.js +++ b/lib/OpenLayers/Popup/FramedCloud.js @@ -28,12 +28,6 @@ OpenLayers.Popup.FramedCloud = */ panMapIfOutOfView: true, - /** - * Property: imageSrc - * {String} - */ - imageSrc: null, - /** * APIProperty: imageSize * {} @@ -214,9 +208,9 @@ OpenLayers.Popup.FramedCloud = initialize:function(id, lonlat, size, contentHTML, anchor, closeBox, closeBoxCallback) { + this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png'; OpenLayers.Popup.Framed.prototype.initialize.apply(this, arguments); this.contentDiv.className = "olFramedCloudPopupContent"; - this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png'; }, /**