From de95dd72e001587fe1b9af2002a0440ce1ea3a7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sun, 24 Jul 2011 13:38:12 +0000 Subject: [PATCH] try to add support for OpenStreetMap; same init() name as Google (body onload) svn: r17954 --- src/plugins/lib/libhtmlconst.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lib/libhtmlconst.py b/src/plugins/lib/libhtmlconst.py index 878c84a23..c45d64d75 100644 --- a/src/plugins/lib/libhtmlconst.py +++ b/src/plugins/lib/libhtmlconst.py @@ -126,7 +126,7 @@ openstreet_jsc = """ OpenLayers.Lang.setCode("%s"); - function init(){ + function initialize(){ map = new OpenLayers.Map("map_canvas"); map.addLayer(new OpenLayers.Layer.OSM());