+ var cyclemap = new OpenLayers.Layer.OSM.CycleMap("Cycle Map", {
+ displayOutsideMaxExtent: true,
+ wrapDateLine: true
+ });
+ map.addLayer(cyclemap);
+
+ var nonamekey = nonamekeys[document.domain];
+ var noname = new OpenLayers.Layer.OSM("NoName", [
+ "http://a.tile.cloudmade.com/" + nonamekey + "/3/256/",
+ "http://b.tile.cloudmade.com/" + nonamekey + "/3/256/",
+ "http://c.tile.cloudmade.com/" + nonamekey + "/3/256/"
+ ], {
+ displayOutsideMaxExtent: true,
+ wrapDateLine: true,
+ numZoomLevels: 19
+ });
+ map.addLayer(noname);
+
+ var maplint = new OpenLayers.Layer.OSM.Maplint("Maplint", {
+ displayOutsideMaxExtent: true,
+ wrapDateLine: true
+ });
+ map.addLayer(maplint);
+
+ var numZoomLevels = Math.max(mapnik.numZoomLevels, osmarender.numZoomLevels);
+
+ markers = new OpenLayers.Layer.Markers("Markers", {
+ displayInLayerSwitcher: false,
+ numZoomLevels: numZoomLevels,
+ maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
+ maxResolution: 156543,
+ units: "m",
+ projection: "EPSG:900913"
+ });