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
This commit is contained in:
@@ -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')}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user