save workspace as WMC
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('<gui_id>','savewmc',2,1, 'save workspace as WMC','Save workspace as web map context document', 'img','../img/button_blink_red/wmc_save_off.png','',870,60,24,24,1,'', '','','mod_savewmc.php','','mapframe1','jq_ui_dialog,lzw_compression', 'http://www.mapbender.org/index.php/SaveWMC'); 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('gui1','lzw_compression',3,1,'','','','','',NULL ,NULL ,NULL ,NULL , NULL ,'','','','','lzw.js','','',''); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<gui_id>', 'savewmc', 'overwrite', '1', '', 'var'); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<gui_id>', 'savewmc', 'saveInSession', '1', '' ,'var'); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<gui_id>', 'savewmc', 'lzwCompressed', 'false', '' ,'var');
http://www.mapbender.org/index.php/SaveWMC
http://www.mapbender.org/User:Christoph_Baudson
overwrite | [optional] if set to 1, a WMC document is overwritten if a WMC with the given name already exists |
saveInSession | [optional] if set to 1, the state of the client is stored in the session after each map request in the target map |
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