Navigation:  WebOffice clients > WebOffice map widget > WebOffice map widget Testcontainer > WebOffice map widget Testcontainer request > Tools >

Edit

Previous pageReturn to chapter overviewNext page

The WebOffice map widget only supports editing of point features. It is not possible to edit the geometry of line or polygon features. In general the WebOffice map widget supports two different kinds of editing features:

Edit via cross hair

Edit via clickmode

 

Edit via cross hair

By activating the edit tool, the WebOffice map widget will zoom to the feature to be edited. By panning the map underneath the cross hair, the geometry of point features can be changed for edit. The feature will be shifted to a new position by pressing the OK button.

 

Edit via clickmode

By activating the edit tool, the WebOffice map widget will zoom to the feature to be edited. By clicking to a new position in the map, the geometry of point features can be changed for edit. The feature will be shifted to a new position by pressing the OK button. This option is optimized for editing features on mobile devices via a stylus.

 

Input parameter

Description

set as startmode

By checking this parameter the tool will initially be activated after refreshing the map widget.

set as clickmode

By checking this parameter the tool's mode will change to edit via clickmode (instead of edit via cross hair).

Query

External layer ID on the WebOffice 10.4 SP2 query layer, to find the feature to be edited.

Note: The layer must be identifyable/selectable.

Return Key

Specifies the field to be returned in the response.

Note: It is possible to select more return keys by using the Ctrl key on the keyboard.

Edit Layer ID

External layer ID on the WebOffice 10.4 SP2 edit layer.

Edit Key Name

Identifies the key attribute of the feature to be edited.

Note: The key name is the technical field name (not the alias name) and must be configured as Edit Field.

Edit Key Value

Identifies the key value of the feature to be edited.

Note: The value must be escaped correctly.

Callback

Specifies a JavaScript callback function.

Input parameter - Edit in WebOffice map widget testcontainer

 

WebOffice map widget testcontainer - Edit

WebOffice map widget testcontainer - Edit

 

WebOffice map widget testcontainer - Edit via clickmode

WebOffice map widget testcontainer - Edit via clickmode

 

Note: When pressing the buttons "Add Value"/"Remove Value" the edit action is extended/reduced with additional edit fields. By using this option also attributes of features can be edited.

Note: Please use the value nullvallue oder syndbvoid when editing empty values, further details see Editing in Service API.

Note: Please find more details about the configuration of editing in WebOffice author in the chapters Editing and Edit Layers.