Set zero Openlayers Buffer to test influence on server.
This commit is contained in:
parent
e055b8e2f8
commit
49ffd3cd08
1 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ OpenLayers.Layer.OSM.Mapnik = OpenLayers.Class(OpenLayers.Layer.OSM, {
|
||||||
"http://b.tile.openstreetmap.org/${z}/${x}/${y}.png",
|
"http://b.tile.openstreetmap.org/${z}/${x}/${y}.png",
|
||||||
"http://c.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];
|
var newArguments = [name, url, options];
|
||||||
OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
|
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://b.tah.openstreetmap.org/Tiles/tile/${z}/${x}/${y}.png",
|
||||||
"http://c.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];
|
var newArguments = [name, url, options];
|
||||||
OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
|
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://b.andy.sandbox.cloudmade.com/tiles/cycle/${z}/${x}/${y}.png",
|
||||||
"http://c.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];
|
var newArguments = [name, url, options];
|
||||||
OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
|
OpenLayers.Layer.OSM.prototype.initialize.apply(this, newArguments);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue