AddWmsFromTree

Description

Add a WMS from a container.  The WMS are displayed in a customized tree (if one exists)

Files

  • http/javascripts/mod_addWMSfromTree.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 ('<app_id>',
'addWMSfromTree',2,1,'Add a WMS from a container. The WMS are displayed in a customized tree (if one exists)',
'Add WMS from tree','div','','',1,1,1,1,5,'overflow:scroll','','div',
'../javascripts/mod_addWMSfromTree.js',
'../extensions/jquery-ui-1.7.2.custom.min.js,../../lib/customTreeModel.js,../../lib/customTreeController.js',
'mapframe1','mapframe1','');

INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
var_value, context, var_type) VALUES ('<app_id>', 'addWMSfromTree',
'addwms_showWMS', '<max_number_of_layers>', '0 : do not make layer visible; n > 0 : make visible if #layers < n' ,'var');

INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
var_value, context, var_type) VALUES ('<app_id>', 'addWMSfromTree',
'applicationName', '<container_name>', 'Use the custom tree of this container' ,'var');

INSERT INTO gui_element_vars (fkey_gui_id, fkey_e_id, var_name,
var_value, context, var_type) VALUES ('<app_id>', 'body',
'custom_tree_css', '../css/customTree.css', '' ,'var');

Help

http://www.mapbender.org/AddWmsFromTree

Maintainer

http://www.mapbender.org/User:Christoph_Baudson

Parameters

addwms_showWMSInteger.  0 : do not make layer visible;
  • n > 0 : make visible if #layers < n
applicationNameString.  Use the custom tree of this container

License

Copyright © 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

Close