X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/93029ab7aae42c0cce38173cbdc3ecc1b3257e76..790c4c193708a0c0feed3e53ad350d739a9fbbec:/public/javascripts/map.js diff --git a/public/javascripts/map.js b/public/javascripts/map.js index fb952daf2..42ee49358 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -29,11 +29,11 @@ function createMap(divName) { }); map.addLayer(osmarender); - var maplint = new OpenLayers.Layer.OSM.Maplint("Maplint", { + var mapnik_local = new OpenLayers.Layer.OSM("Mapnik (Local)", "http://bericote.uk.cyberscience.com/tiles/", { displayOutsideMaxExtent: true, wrapDateLine: true }); - map.addLayer(maplint); + map.addLayer(mapnik_local); var numZoomLevels = Math.max(mapnik.numZoomLevels, osmarender.numZoomLevels); markers = new OpenLayers.Layer.Markers("Markers", { @@ -42,7 +42,7 @@ function createMap(divName) { maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508), maxResolution: 156543, units: "m", - projection: "EPSG:900913", + projection: "EPSG:900913" }); map.addLayer(markers);