]> git.openstreetmap.org Git - rails.git/commitdiff
Fix IE breakage.
authorTom Hughes <tom@compton.nu>
Fri, 11 Apr 2008 19:40:32 +0000 (19:40 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 11 Apr 2008 19:40:32 +0000 (19:40 +0000)
public/javascripts/map.js

index fb952daf2bb849456952e0a91c8c1ed891a9152a..c0fd4bbd6df757315d5a6b5d6925d5d70a42331e 100644 (file)
@@ -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);