From 0d60c397217218dabb439a8c38cb4c84261da693 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 11 Apr 2008 19:40:32 +0000 Subject: [PATCH] Fix IE breakage. --- public/javascripts/map.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); -- 2.43.2