Merge pull request #126 from tomhughes/url-rewrite
Add an interception point to allow image URLs to be rewritten
This commit is contained in:
@@ -119,7 +119,7 @@ OpenLayers.Control.PanZoom = OpenLayers.Class(OpenLayers.Control, {
|
||||
* image of the button, and has all the proper event handlers set.
|
||||
*/
|
||||
_addButton:function(id, img, xy, sz) {
|
||||
var imgLocation = OpenLayers.Util.getImagesLocation() + img;
|
||||
var imgLocation = OpenLayers.Util.getImageLocation(img);
|
||||
var btn = OpenLayers.Util.createAlphaImageDiv(
|
||||
this.id + "_" + id,
|
||||
xy, sz, imgLocation, "absolute");
|
||||
|
||||
Reference in New Issue
Block a user