From: Grant Slater Date: Mon, 2 Aug 2010 14:25:02 +0000 (+0100) Subject: Set zero Openlayers Buffer to test influence on server. X-Git-Tag: live~6882^2~20 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/49ffd3cd085bf3692ef2e1285c67066c0cbb7dbd Set zero Openlayers Buffer to test influence on server. --- diff --git a/public/openlayers/OpenStreetMap.js b/public/openlayers/OpenStreetMap.js index 69f141806..86f8a80e4 100644 --- a/public/openlayers/OpenStreetMap.js +++ b/public/openlayers/OpenStreetMap.js @@ -48,7 +48,7 @@ OpenLayers.Layer.OSM.Mapnik = OpenLayers.Class(OpenLayers.Layer.OSM, { "http://b.tile.openstreetmap.org/${z}/${x}/${y}.png", "http://c.tile.openstreetmap.org/${z}/${x}/${y}.png" ]; - options = OpenLayers.Util.extend({ numZoomLevels: 19 }, options); + options = OpenLayers.Util.extend({ numZoomLevels: 19, buffer: 0 }, options); var newArguments = [name, url, options]; OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments); }, @@ -76,7 +76,7 @@ OpenLayers.Layer.OSM.Osmarender = OpenLayers.Class(OpenLayers.Layer.OSM, { "http://b.tah.openstreetmap.org/Tiles/tile/${z}/${x}/${y}.png", "http://c.tah.openstreetmap.org/Tiles/tile/${z}/${x}/${y}.png" ]; - options = OpenLayers.Util.extend({ numZoomLevels: 18 }, options); + options = OpenLayers.Util.extend({ numZoomLevels: 18, buffer: 0 }, options); var newArguments = [name, url, options]; OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments); }, @@ -104,7 +104,7 @@ OpenLayers.Layer.OSM.CycleMap = OpenLayers.Class(OpenLayers.Layer.OSM, { "http://b.andy.sandbox.cloudmade.com/tiles/cycle/${z}/${x}/${y}.png", "http://c.andy.sandbox.cloudmade.com/tiles/cycle/${z}/${x}/${y}.png" ]; - options = OpenLayers.Util.extend({ numZoomLevels: 19 }, options); + options = OpenLayers.Util.extend({ numZoomLevels: 19, buffer: 0 }, options); var newArguments = [name, url, options]; OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments); },