Merge pull request #126 from tomhughes/url-rewrite
Add an interception point to allow image URLs to be rewritten
This commit is contained in:
@@ -218,7 +218,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
initialize:function(id, lonlat, contentSize, contentHTML, anchor, closeBox,
|
||||
closeBoxCallback) {
|
||||
|
||||
this.imageSrc = OpenLayers.Util.getImagesLocation() + 'cloud-popup-relative.png';
|
||||
this.imageSrc = OpenLayers.Util.getImageLocation('cloud-popup-relative.png');
|
||||
OpenLayers.Popup.Framed.prototype.initialize.apply(this, arguments);
|
||||
this.contentDiv.className = this.contentDisplayClass;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user