try to add support for OpenStreetMap; overview controler

svn: r17958
This commit is contained in:
Jérôme Rapinat 2011-07-24 14:57:43 +00:00
parent 2f743336e8
commit 390410f2ca

View File

@ -139,7 +139,8 @@ openstreet_jsc = """
map.addLayers([osm, markers]);
setMapLayers("M");
// add overview control
map.addControl(new OpenLayers.Control.OverviewMap());
// add a layer switcher
map.addControl(new OpenLayers.Control.LayerSwitcher());