[Mapbender-commits] r5685 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Feb 26 05:48:24 EST 2010
Author: christoph
Date: 2010-02-26 05:48:22 -0500 (Fri, 26 Feb 2010)
New Revision: 5685
Added:
trunk/mapbender/http/plugins/ol_panPanel.js
Modified:
trunk/mapbender/http/plugins/ol_keyboardDefaults.js
trunk/mapbender/http/plugins/ol_layerSwitch.js
trunk/mapbender/http/plugins/ol_mousePosition.js
trunk/mapbender/http/plugins/ol_overview.js
trunk/mapbender/http/plugins/ol_panZoomBar.js
trunk/mapbender/http/plugins/ol_wms.php
Log:
panPanel
documentation
Modified: trunk/mapbender/http/plugins/ol_keyboardDefaults.js
===================================================================
--- trunk/mapbender/http/plugins/ol_keyboardDefaults.js 2010-02-26 10:05:21 UTC (rev 5684)
+++ trunk/mapbender/http/plugins/ol_keyboardDefaults.js 2010-02-26 10:48:22 UTC (rev 5685)
@@ -8,9 +8,16 @@
* - http/plugins/ol_keyboardDefaults.js
*
* SQL:
- * > <SQL for element>
- * >
- * > <SQL for element var>
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES ('<appId>',
+ * > 'ol_keyboardDefaults',1,1,
+ * > 'An OpenLayers KeyboardDefaults.Navigate with Keybords up, down, left and right key.',
+ * > 'OpenLayers KeyboardDefaults','div','','',NULL ,0,NULL ,NULL ,NULL, '',
+ * > '','div','../plugins/ol_keyboardDefaults.js','','ol','',
+ * > 'http://www.mapbender.org/ol_keyboardDefaults');
+
*
* Help:
* http://www.mapbender.org/ol_keyboardDefaults
Modified: trunk/mapbender/http/plugins/ol_layerSwitch.js
===================================================================
--- trunk/mapbender/http/plugins/ol_layerSwitch.js 2010-02-26 10:05:21 UTC (rev 5684)
+++ trunk/mapbender/http/plugins/ol_layerSwitch.js 2010-02-26 10:48:22 UTC (rev 5685)
@@ -8,9 +8,14 @@
* - http/plugins/ol_layerSwitch.js
*
* SQL:
- * > <SQL for element>
- * >
- * > <SQL for element var>
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES('<appId>',
+ * > 'ol_layerSwitch',1,1,'An OpenLayers Layer Switch',
+ * > 'OpenLayers Layer Switch','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'',
+ * > '','div','../plugins/ol_layerSwitch.js','','ol','',
+ * > 'http://www.mapbender.org/ol_layerSwitch');
*
* Help:
* http://www.mapbender.org/ol_layerSwitch
Modified: trunk/mapbender/http/plugins/ol_mousePosition.js
===================================================================
--- trunk/mapbender/http/plugins/ol_mousePosition.js 2010-02-26 10:05:21 UTC (rev 5684)
+++ trunk/mapbender/http/plugins/ol_mousePosition.js 2010-02-26 10:48:22 UTC (rev 5685)
@@ -8,9 +8,28 @@
* - http/plugins/ol_mousePosition.js
*
* SQL:
- * > <SQL for element>
- * >
- * > <SQL for element var>
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES('<appId>',
+ * > 'ol_mousePosition',1,1,'An OpenLayers MousePosition',
+ * > 'OpenLayers MousePosition','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,
+ * > '','','div','../plugins/ol_mousePosition.js','','ol','',
+ * > 'http://www.mapbender.org/ol_mousePosition');
+ * >
+ * > INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
+ * > var_value, context, var_type) VALUES ('<appId>', 'body',
+ * > 'ol_mousePosition', '.olControlMousePosition
+ * > {
+ * > background-color:white;
+ * > width:220px;
+ * > height:15px;
+ * > border:solid gray 1px;
+ * > border-bottom:none;
+ * > left:0px;
+ * > bottom:2px;
+ * > padding-left:8px;
+ * > }', '' ,'text/css');
*
* Help:
* http://www.mapbender.org/ol_mousePosition
Modified: trunk/mapbender/http/plugins/ol_overview.js
===================================================================
--- trunk/mapbender/http/plugins/ol_overview.js 2010-02-26 10:05:21 UTC (rev 5684)
+++ trunk/mapbender/http/plugins/ol_overview.js 2010-02-26 10:48:22 UTC (rev 5685)
@@ -8,9 +8,14 @@
* - http/plugins/ol_overview.js
*
* SQL:
- * > <SQL for element>
- * >
- * > <SQL for element var>
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES('<appId>',
+ * > 'ol_overviewMap',1,0,'An OpenLayers OverviewMap','OpenLayers OverviewMap',
+ * > 'div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div',
+ * > '../plugins/ol_overview.js','','ol','',
+ * > 'http://www.mapbender.org/ol_overviewMap');
*
* Help:
* http://www.mapbender.org/ol_overviewMap
Added: trunk/mapbender/http/plugins/ol_panPanel.js
===================================================================
--- trunk/mapbender/http/plugins/ol_panPanel.js (rev 0)
+++ trunk/mapbender/http/plugins/ol_panPanel.js 2010-02-26 10:48:22 UTC (rev 5685)
@@ -0,0 +1,68 @@
+/**
+ * Package: ol_panPanel
+ *
+ * Description:
+ * An OpenLayers PanPanel
+ *
+ * Files:
+ * - http/plugins/ol_panPanel.js
+ *
+ * SQL:
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES ('<appId>','ol_panPanel',
+ * > 1,1,'An OpenLayers PanPanel','OpenLayers PanPanel','div','','',NULL ,
+ * > NULL ,NULL ,NULL ,NULL ,'','','div','../plugins/ol_panPanel.js','',
+ * > 'ol','','http://www.mapbender.org/ol_panPanel');
+ * >
+ * > INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
+ * > var_value, context, var_type) VALUES ('<appId>', 'body',
+ * > 'ol_panPanel', '.olControlPanPanel {
+ * > width: 100%;
+ * > height: 100%;
+ * > left: 0;
+ * > top: 0;
+ * > }
+ * > .olControlPanPanel .olControlPanNorthItemInactive {
+ * > left: 50%;
+ * > margin-left: -9px;
+ * > top: 0;
+ * > }
+ * > .olControlPanPanel .olControlPanSouthItemInactive {
+ * > left: 50%;
+ * > margin-left: -9px;
+ * > top: auto;
+ * > bottom: 0;
+ * > }
+ * > .olControlPanPanel .olControlPanWestItemInactive {
+ * > top: 50%;
+ * > margin-top: -9px;
+ * > left: 0;
+ * > }
+ * > .olControlPanPanel .olControlPanEastItemInactive {
+ * > top: 50%;
+ * > margin-top: -9px;
+ * > left: auto;
+ * > right: 0;
+ * > }', '' ,'text/css');
+ *
+ * Help:
+ * http://www.mapbender.org/ol_mousePosition
+ *
+ * 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 () {
+ options.$target.each(function () {
+ this.addControl(new OpenLayers.Control.PanPanel());
+ });
+});
+
Modified: trunk/mapbender/http/plugins/ol_panZoomBar.js
===================================================================
--- trunk/mapbender/http/plugins/ol_panZoomBar.js 2010-02-26 10:05:21 UTC (rev 5684)
+++ trunk/mapbender/http/plugins/ol_panZoomBar.js 2010-02-26 10:48:22 UTC (rev 5685)
@@ -8,9 +8,15 @@
* - http/plugins/ol_panZoomBar.js
*
* SQL:
- * > <SQL for element>
- * >
- * > <SQL for element var>
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES ('<appId>',
+ * > 'ol_panZoomBar',1,0,'An OpenLayers PanZoomBar','OpenLayers Layer Switch',
+ * > 'div','','',NULL ,0,NULL ,NULL ,NULL ,'','','div',
+ * > '../plugins/ol_panZoomBar.js','','ol','',
+ * > 'http://www.mapbender.org/ol_panZoomBar');
+
*
* Help:
* http://www.mapbender.org/ol_panZoomBar
Modified: trunk/mapbender/http/plugins/ol_wms.php
===================================================================
--- trunk/mapbender/http/plugins/ol_wms.php 2010-02-26 10:05:21 UTC (rev 5684)
+++ trunk/mapbender/http/plugins/ol_wms.php 2010-02-26 10:48:22 UTC (rev 5685)
@@ -2,27 +2,26 @@
* Package: ol_wms
*
* Description:
- * <A description>
+ * Loads configured WMS from the Mapbender database and loads them into OpenLayers
*
* Files:
- * - <path and filename, like http/javascripts/mod_zoomIn1.php>
+ * - http/plugins/ol_wms.php
*
* SQL:
- * > <SQL for element>
- * >
- * > <SQL for element var>
+ * > INSERT INTO gui_element(fkey_gui_id, e_id, e_pos, e_public, e_comment,
+ * > e_title, e_element, e_src, e_attributes, e_left, e_top, e_width,
+ * > e_height, e_z_index, e_more_styles, e_content, e_closetag, e_js_file,
+ * > e_mb_mod, e_target, e_requires, e_url) VALUES ('<appId>','ol_wms',2,1,
+ * > 'Load configured WMS from Mapbender application settings into OpenLayers',
+ * > '','div','','',NULL ,NULL ,NULL ,NULL ,NULL ,'','','div',
+ * > '../plugins/ol_wms.php','','ol','','http://www.mapbender.org/ol_wms');
*
* Help:
- * http://www.mapbender.org/<wiki site name>
+ * http://www.mapbender.org/ol_wms
*
* Maintainer:
- * http://www.mapbender.org/User:<user>
+ * http://www.mapbender.org/User:Christoph_Baudson
*
- * Parameters:
- * <normal element var name> - <type and description>
- * <optional element var name> - *[optional]* <type and description>
- * <deprecated element var name> - *[deprecated]* <type and description>
- *
* License:
* Copyright (c) 2009, Open Source Geospatial Foundation
* This program is dual licensed under the GNU General Public License
More information about the Mapbender_commits
mailing list