From: Tom Hughes Date: Fri, 11 Apr 2008 19:40:32 +0000 (+0000) Subject: Fix IE breakage. X-Git-Tag: live~7872 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0d60c397217218dabb439a8c38cb4c84261da693 Fix IE breakage. --- diff --git a/public/javascripts/map.js b/public/javascripts/map.js index fb952daf2..c0fd4bbd6 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -29,6 +29,12 @@ function createMap(divName) { }); map.addLayer(osmarender); + var mapnik_local = new OpenLayers.Layer.OSM("Mapnik (Local)", "http://bericote.uk.cyberscience.com/tiles/", { + displayOutsideMaxExtent: true, + wrapDateLine: true + }); + map.addLayer(mapnik_local); + var maplint = new OpenLayers.Layer.OSM.Maplint("Maplint", { displayOutsideMaxExtent: true, wrapDateLine: true @@ -42,7 +48,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);