From ec3c55606c7c9988d4f983d4d3dbff16eba52576 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Mon, 17 Mar 2008 09:58:27 +0000 Subject: [PATCH] added navigation control so users can at least play around a little git-svn-id: http://svn.openlayers.org/trunk/openlayers@6536 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/layerswitcher.html | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/layerswitcher.html b/examples/layerswitcher.html index 98af560241..92ce569e20 100644 --- a/examples/layerswitcher.html +++ b/examples/layerswitcher.html @@ -14,6 +14,7 @@ var map; function init(){ map = new OpenLayers.Map('map', { controls: [] }); + map.addControl(new OpenLayers.Control.Navigation()); map.addControl(new OpenLayers.Control.LayerSwitcher({'div':OpenLayers.Util.getElement('layerswitcher')}));