AddWMSfromfilteredList_ajax

Description

Shows all WMS services contained in an authorized GUI Shows list of all available WMS with abstract description Adds selected WMS to current application checkbox to ctivate layer on load, checkbox to zoom to WMS extent on load

Files

  • http/javascripts/mod_addWMSfromfilteredList_ajax.php

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>','addWMSfromfilteredList_ajax',2,1,'add a WMS to the running application from a filtered list',
'Adding WMS from filtered list','img','../img/button_gray/add_filtered_list_off.png',
'',620,60,24,24,1,'','','','mod_addWmsFromFilteredList_button.php',
'mod_addWMSgeneralFunctions.js,popup.js','treeGDE,mapframe1','loadData',
'http://www.mapbender.org/index.php/Add_WMS_from_filtered_list');

INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value,
context, var_type) VALUES('<app_id>', 'addWMSfromfilteredList_ajax', 'capabilitiesInput',
'1', 'load wms by capabilities url' ,'var');

INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value,
context, var_type) VALUES('<app_id>', 'addWMSfromfilteredList_ajax', 'option_dball',
'1', '1 enables option "load all configured wms from db"' ,'var');

INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value,
context, var_type) VALUES('<app_id>', 'addWMSfromfilteredList_ajax', 'option_dbgroup',
'0', '1 enables option "load configured wms by group"' ,'var');

INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value,
context, var_type) VALUES('<app_id>', 'addWMSfromfilteredList_ajax', 'option_dbgui',
'0', '1 enables option "load configured wms by application"' ,'var');

INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES
('<app_id>', 'addWMSfromfilteredList_ajax', 'addwms_showWMS', '4', '' ,'var');

Help

http://www.mapbender.org/Add_WMS_from_filtered_list_%28AJAX%29

Maintainer

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

Parameters

addwms_showWMSx
capabilitiesInputshow input field to load wms by capabilities url
option_dballload all configured wms from db
option_dbgroupload configured wms by group
option_dbguiload configured wms by application

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