Navigation:  Introduction to WebOffice map widget > Supported Parameters > Tool Parameters > activetools >

ADDREMOVE

Previous pageReturn to chapter overviewNext page

The parameter activetools=ADDREMOVE will display the Add Remove tool.

This tool enables the user to add/remove features to/from the current set of selected features.

 

Note: For this tool the parameters query, keyname, keyvalue and returnkey have to be defined.

Note: The value from the parameters keyvalue and returnkey have to be the same.

Note: At least one object has to be selected in order to start the tool.

Note: The complete selection will be removed as soon as one value from the parameter keyvalue contains special characters!

 

Add Remove Tool

Add Remove Tool

 

After having activated the Add Remove tool, additional features of the same layer to be selected/deselected can be marked in the map. This step is for preparing the properly selection. While marking any objects in the map, navigation (pan/zoom) is still allowed. As soon as an object was detected, a small check box will be displayed. After pressing the button the object will be added to current selection and the list of selected features int the callback will be extended/reduced. It's possible to add as many objects as necessary to a current selection.

 

The other way around, it's possible to remove objects from a current selection. Therefore choose an already selected feature and the check box will be displayed. When clicking the button, the selection will be removed.

 

Note: The pixel tolerance for this tool is the same as for other tools (e.g. IDENTIFY or MAPTIP) and can be configured in WebOffice Defaults.

 

Example:

http://w-lap-rainer.synergis.intern:8080/WebOffice10R3_SP3_Latest/client_mapwidget/default.jsp?baseURL=http://w-lap-rainer.synergis.intern:8080/WebOffice10R3_SP3_Latest&project=SampleProject_Graz&width=600&height=400&combined_req=true&map_adv=true&activetools=ADDREMOVE&query=street_name&keyvalue=Murgasse&keyname=STR_NAME&returnkey=STR_NAME&callback_addremove_mw=parent.addremoveResult