From 390410f2caf322af9b93d35180c16d7fefd669fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Sun, 24 Jul 2011 14:57:43 +0000 Subject: [PATCH] try to add support for OpenStreetMap; overview controler svn: r17958 --- src/plugins/lib/libhtmlconst.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/lib/libhtmlconst.py b/src/plugins/lib/libhtmlconst.py index 1b0eb27a5..fd7a3f791 100644 --- a/src/plugins/lib/libhtmlconst.py +++ b/src/plugins/lib/libhtmlconst.py @@ -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());