Navigation:  Introduction to WebOffice map widget > Request Examples >

Request to select Objects

Previous pageReturn to chapter overviewNext page

Use this combined request for enabling the user to select different object by using the tools 'Select Line' or 'Select Area'.

 

Note: The selections tools only work properly with WebOffice 10 R3 Patch 20120619-1738 and coming WebOffice 10 R3 patches!

 

The subsequently listed parameters marked with ‘mandatory’ all need to be provided for getting correct results.

 

activetools (mandatory)

The parameter activetools=SELECTLINE or/and the parameter activetools=SELECTAREA will display the selection tools.

 

combined_req=true (mandatory)

The parameter combinded_req=true indicates whether it's a combined request or not. (See Combined Requests (query and editing) for further information.)

 

query_selectline_mw (mandatory)

The parameter query_selectline_mw identifies a WebOffice 10 R3 query in order to select objects.

 

query_selectarea_mw (mandatory)

The parameter query_selectarea_mw identifies a WebOffice 10 R3 query in order to select objects.

 

returnkey_selectline_mw (mandatory)

The parameter returnkey_selectline_mw specifies the field to be returned in the response.

 

returnkey_selectarea_mw (mandatory)

The parameter returnkey_select_area_mw specifies the field to be returned in the response.

 

callback_selectline_mw

This parameter specifies the name of the JavaScript method to be used as call back function for to select objects. (See callback_selectline_mw for further information)

 

callback_selectarea_mw

This parameter specifies the name of the JavaScript method to be used as call back function to select objects. (See callback_selectarea_mw for further information)

 

Selection of a point geometry with the Select-Area-Tool

Selection of a point geometry with the Select-Area-Tool

 

Example:

http://w-vpc-kr-w7-e:8080/WO_10R3_SP2_latestBuild/client_mapwidget/default.jsp?baseURL=http://w-vpc-kr-w7-e:8080/WO_10R3_SP2_latestBuild&project=WebOffice_SampleProject_Doku&width=600&height=400&view=Edit&mapmargin=1&combined_req=true&maptransparency=1.0&activetools=SELECTLINE%20SELECTAREA&query_selectline_mw=laender&returnkey_selectline_mw=CNTRY_NAME&callback_selectline_mw=parent.selectlineResult&query_selectarea_mw=CTY&returnkey_selectarea_mw=CITY_NAME&callback_selectarea_mw=parent.selectareaResult