try to add support for OpenStreetMap; overview controler
svn: r17958
This commit is contained in:
parent
2f743336e8
commit
390410f2ca
@ -139,7 +139,8 @@ openstreet_jsc = """
|
|||||||
|
|
||||||
map.addLayers([osm, markers]);
|
map.addLayers([osm, markers]);
|
||||||
|
|
||||||
setMapLayers("M");
|
// add overview control
|
||||||
|
map.addControl(new OpenLayers.Control.OverviewMap());
|
||||||
|
|
||||||
// add a layer switcher
|
// add a layer switcher
|
||||||
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
map.addControl(new OpenLayers.Control.LayerSwitcher());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user