Allow OpenStreetMap.js to work with an unpatched OpenLayers
This commit is contained in:
parent
2a84871de6
commit
ae9131bc8e
2 changed files with 3 additions and 1 deletions
2
vendor/assets/openlayers/OpenStreetMap.js
vendored
2
vendor/assets/openlayers/OpenStreetMap.js
vendored
|
@ -7,7 +7,7 @@ OpenLayers.Util.OSM = {};
|
|||
* Constant: MISSING_TILE_URL
|
||||
* {String} URL of image to display for missing tiles
|
||||
*/
|
||||
OpenLayers.Util.OSM.MISSING_TILE_URL = OpenLayers.Util.getImageLocation("404.png");
|
||||
OpenLayers.Util.OSM.MISSING_TILE_URL = OpenLayers.Util.getImagesLocation() + "404.png";
|
||||
|
||||
/**
|
||||
* Property: originalOnImageLoadError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue