From 938e96747badc4f8b871774162e3dd2fe8896b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Thu, 25 Oct 2012 17:39:24 +0000 Subject: [PATCH] 6002: try to make the javascript code more consistent with this custom OSM layer handling svn: r20599 --- src/plugins/webreport/NarrativeWeb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/webreport/NarrativeWeb.py b/src/plugins/webreport/NarrativeWeb.py index 6c7aa236b..33b85bc56 100644 --- a/src/plugins/webreport/NarrativeWeb.py +++ b/src/plugins/webreport/NarrativeWeb.py @@ -266,7 +266,7 @@ openstreetmap_jsc = """ {'layers':'basic'}); map.addLayer(wms); - map.setCenter(new OpenLayers.LonLat(0, 0), 0); + map.setCenter(new OpenLayers.LonLat(%s, %s), %d); var markers = new OpenLayers.Layer.Markers("Markers"); map.addLayer(markers);