try to add support for OpenStreetMap; same init() name as Google (body onload)

svn: r17954
This commit is contained in:
Jérôme Rapinat 2011-07-24 13:38:12 +00:00
parent 569c9f790d
commit de95dd72e0

View File

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