[Commits] r1050 - apps/opengeo/geoexplorer/trunk/lib
commits at geoext.org
commits at geoext.org
Thu Jun 11 23:47:48 CEST 2009
Author: tschaub
Date: 2009-06-11 23:47:48 +0200 (Thu, 11 Jun 2009)
New Revision: 1050
Modified:
apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
Log:
Replacing unintentionally removed navControl.
Modified: apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js
===================================================================
--- apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js 2009-06-11 21:47:23 UTC (rev 1049)
+++ apps/opengeo/geoexplorer/trunk/lib/GeoExplorer.js 2009-06-11 21:47:48 UTC (rev 1050)
@@ -986,6 +986,10 @@
*/
createTools: function() {
+ // create a navigation control
+ var navControl = new OpenLayers.Control.Navigation();
+ this.map.addControl(navControl);
+
// create a navigation history control
var historyControl = new OpenLayers.Control.NavigationHistory();
this.map.addControl(historyControl);
More information about the Commits
mailing list