Remove the osmarender map layer
This commit is contained in:
parent
ec0c1dfd47
commit
acbd254e4a
2 changed files with 1 additions and 13 deletions
|
@ -33,15 +33,6 @@ function createMap(divName, options) {
|
||||||
});
|
});
|
||||||
map.addLayer(mapnik);
|
map.addLayer(mapnik);
|
||||||
|
|
||||||
var osmarender = new OpenLayers.Layer.OSM.Osmarender(i18n("javascripts.map.base.osmarender"), {
|
|
||||||
attribution: "",
|
|
||||||
keyid: "osmarender",
|
|
||||||
displayOutsideMaxExtent: true,
|
|
||||||
wrapDateLine: true,
|
|
||||||
layerCode: "O"
|
|
||||||
});
|
|
||||||
map.addLayer(osmarender);
|
|
||||||
|
|
||||||
var cyclemap = new OpenLayers.Layer.OSM.CycleMap(i18n("javascripts.map.base.cycle_map"), {
|
var cyclemap = new OpenLayers.Layer.OSM.CycleMap(i18n("javascripts.map.base.cycle_map"), {
|
||||||
attribution: "Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>",
|
attribution: "Tiles courtesy of <a href='http://www.opencyclemap.org/' target='_blank'>Andy Allan</a>",
|
||||||
keyid: "cyclemap",
|
keyid: "cyclemap",
|
||||||
|
@ -75,11 +66,9 @@ function createMap(divName, options) {
|
||||||
});
|
});
|
||||||
map.addLayer(mapquest);
|
map.addLayer(mapquest);
|
||||||
|
|
||||||
var numZoomLevels = Math.max(mapnik.numZoomLevels, osmarender.numZoomLevels);
|
|
||||||
|
|
||||||
markers = new OpenLayers.Layer.Markers("Markers", {
|
markers = new OpenLayers.Layer.Markers("Markers", {
|
||||||
displayInLayerSwitcher: false,
|
displayInLayerSwitcher: false,
|
||||||
numZoomLevels: numZoomLevels,
|
numZoomLevels: 20,
|
||||||
maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
|
maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
|
||||||
maxResolution: 156543,
|
maxResolution: 156543,
|
||||||
units: "m",
|
units: "m",
|
||||||
|
|
|
@ -1943,7 +1943,6 @@ en:
|
||||||
map:
|
map:
|
||||||
base:
|
base:
|
||||||
mapnik: Mapnik
|
mapnik: Mapnik
|
||||||
osmarender: Osmarender
|
|
||||||
cycle_map: Cycle Map
|
cycle_map: Cycle Map
|
||||||
transport_map: Transport Map
|
transport_map: Transport Map
|
||||||
mapquest: MapQuest Open
|
mapquest: MapQuest Open
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue