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());