Allows the user to digitize polygons, lines and points.
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>','digitize', 2,1,'Digitize tool.','Digitize','iframe', '../javascripts/mod_digitize_tab.php?sessionID','frameborder = "0" ', 1,1,1,1,5,'','','iframe','','geometry.js','mapframe1','mapframe1', 'http://www.mapbender.org/Digitize'); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<appId>', 'digitize', 'cssUrl', '../css/digitize.css', 'url to the style sheet of the mapframe' , 'var'); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<appId>', 'digitize', 'digitize_conf_filename', 'digitize_default.conf', '' ,'php_var'); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<appId>', 'digitize', 'text css', 'digitizeGeometryList {position:absolute; top:50px; left:0px;} .digitizeGeometryListItem {color:#000000; font-size:10px;} body {font-family: Arial, Helvetica, sans-serif; font-size:12px; color:#ff00ff; background-color:#ffffff; margin-top: 0px; margin-left:0px;} .button {height:18px; width:32px;}', 'text css' ,'text/css'); INSERT INTO gui_element_vars(fkey_gui_id, fkey_e_id, var_name, var_value, context, var_type) VALUES('<appId>', 'digitize', 'wfsCssUrl', '../css/mapbender.css', 'var' ,'var');
http://www.mapbender.org/Digitize
http://www.mapbender.org/User:Christoph_Baudson
cssUrl | path/filename of CSS which specifies the design of digitize objects in the map do not change the default file, create your own css file from the default file |
text css | CSS text for the geometry list |
wfsCssUrl | path/filename of CSS which specifies the design of the popup which appears when a feature is saved or updated |
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
digitize | Allows the user to digitize polygons, lines and points. |
Properties | |
events | Your callback functions receive an object with the following attributes |
events. | This <Mapbender.Event> is fired after a new geometry has been digitized. |
events. | This <Mapbender.Event> is fired before a feature is updated or inserted by WFS-T. |
events. | This <Mapbender.Event> is fired before a feature is updated by WFS-T. |
events. | This <Mapbender.Event> is fired before a feature is inserted by WFS-T. |
events. | This <Mapbender.Event> is fired before the user opens the dialog for inserting or updating. |
events. | This <Mapbender.Event> is fired when the user clicks the button to delete features by WFS-T |
events. | This <Mapbender.Event> is fired after a feature has been inserted by WFS-T |
events. | This <Mapbender.Event> is fired after a feature has been inserted, updated or deleted by WFS-T |
events. | This <Mapbender.Event> is fired when 2 lines are merged to a single line, |