try to add support for OpenStreetMap; same init() name as Google (body onload)
svn: r17954
This commit is contained in:
parent
569c9f790d
commit
de95dd72e0
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user