X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/fd6ff4ef3b728064e731bc5d5cec53093011f70d..0e16b728876db5ffbdd6986925ec6b65a6c77659:/public/openlayers/OpenStreetMap.js diff --git a/public/openlayers/OpenStreetMap.js b/public/openlayers/OpenStreetMap.js index 7b33584af..4f2b0d4d7 100644 --- a/public/openlayers/OpenStreetMap.js +++ b/public/openlayers/OpenStreetMap.js @@ -47,7 +47,7 @@ OpenLayers.Layer.OSM = OpenLayers.Class(OpenLayers.Layer.TMS, { */ initialize: function(name, url, options) { options = OpenLayers.Util.extend({ - attribution: "Data by OpenStreetMap", + attribution: "Data by OpenStreetMap under CC-BY-SA", maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxResolution: 156543.0339, units: "m", @@ -175,7 +175,7 @@ OpenLayers.Layer.OSM.CycleMap = OpenLayers.Class(OpenLayers.Layer.OSM, { "http://b.andy.sandbox.cloudmade.com/tiles/cycle/", "http://c.andy.sandbox.cloudmade.com/tiles/cycle/" ]; - options = OpenLayers.Util.extend({ numZoomLevels: 18 }, options); + options = OpenLayers.Util.extend({ numZoomLevels: 19 }, options); var newArguments = [name, url, options]; OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments); },