[Mapbender-commits] r5250 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Dec 23 09:04:48 EST 2009
Author: topi
Date: 2009-12-23 09:04:46 -0500 (Wed, 23 Dec 2009)
New Revision: 5250
Added:
trunk/mapbender/http/plugins/ol_keyboardDefaults.js
Modified:
trunk/mapbender/http/plugins/ol_panZoomBar.js
Log:
Added: trunk/mapbender/http/plugins/ol_keyboardDefaults.js
===================================================================
--- trunk/mapbender/http/plugins/ol_keyboardDefaults.js (rev 0)
+++ trunk/mapbender/http/plugins/ol_keyboardDefaults.js 2009-12-23 14:04:46 UTC (rev 5250)
@@ -0,0 +1,32 @@
+/**
+ * Package: ol_eyboardDefaults
+ *
+ * Description:
+ * An OpenLayers KeyboardDefaults
+ *
+ * Files:
+ * - http/plugins/ol_keyboardDefaults.js
+ *
+ * SQL:
+ * > <SQL for element>
+ * >
+ * > <SQL for element var>
+ *
+ * Help:
+ * http://www.mapbender.org/ol_keyboardDefaults
+ *
+ * Maintainer:
+ * http://www.mapbender.org/User:Christoph_Baudson
+ *
+ * License:
+ * Copyright (c) 2009, Open Source Geospatial Foundation
+ * This program is dual licensed under the GNU General Public License
+ * and Simplified BSD license.
+ * http://svn.osgeo.org/mapbender/trunk/mapbender/license/license.txt
+ */
+
+Mapbender.events.init.register(function () {
+ var ol_map = Mapbender.modules[options.target[0]];
+ ol_map.addControl(new OpenLayers.Control.KeyboardDefaults());
+});
+
Modified: trunk/mapbender/http/plugins/ol_panZoomBar.js
===================================================================
--- trunk/mapbender/http/plugins/ol_panZoomBar.js 2009-12-23 13:58:22 UTC (rev 5249)
+++ trunk/mapbender/http/plugins/ol_panZoomBar.js 2009-12-23 14:04:46 UTC (rev 5250)
@@ -2,7 +2,7 @@
* Package: ol_panZoomBar
*
* Description:
- * An OpenLayers Layer Switch
+ * An OpenLayers panZoomBar
*
* Files:
* - http/plugins/ol_panZoomBar.js
More information about the Mapbender_commits
mailing list