From 0b8449d2c95c52402b4a8cc7f49362820a752cc0 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 9 Oct 2008 11:51:51 +0000 Subject: [PATCH 1/1] Set the displayProjection on the map. --- public/javascripts/map.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/javascripts/map.js b/public/javascripts/map.js index d6349d698..c80ed2242 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -30,7 +30,8 @@ function createMap(divName, options) { ], units: "m", maxResolution: 156543.0339, - numZoomLevels: 20 + numZoomLevels: 20, + displayProjection: new OpenLayers.Projection("EPSG:4326") }); var mapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik", { -- 2.45.1