From 3c15b42e98b6e8bd64a2dafe946c4469ce3c084a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sat, 23 Jul 2011 10:31:38 +0000 Subject: [PATCH] minor improvements after rev17946 svn: r17948 --- src/plugins/lib/libhtmlconst.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/lib/libhtmlconst.py b/src/plugins/lib/libhtmlconst.py index 6e80de05e..810ff9442 100644 --- a/src/plugins/lib/libhtmlconst.py +++ b/src/plugins/lib/libhtmlconst.py @@ -129,11 +129,11 @@ openstreet_jsc = """ function mapInit(){ map = createMap("map"); - map.dataLayer = new OpenLayers.Layer("Données", { "visibility": false }); + map.dataLayer = new OpenLayers.Layer("Data", { "visibility": false }); map.dataLayer.events.register("visibilitychanged", map.dataLayer, toggleData); map.addLayer(map.dataLayer); - var centre = new OpenLayers.LonLat({$our lon}, {$our lat}); + var centre = new OpenLayers.LonLat(%(lon)s, %(lat)s); var zoom = 11; setMapCenter(centre, zoom);