savewmc

Description

save workspace as WMC

Files

  • http/javascripts/mod_savewmc.php
  • http/javascripts/mod_savewmc.js
  • http/php/mod_savewmc_server.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('<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','mapframe1',
'http://www.mapbender.org/index.php/SaveWMC');

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');

Help

http://www.mapbender.org/index.php/SaveWMC

Maintainer

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

Parameters

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

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