Navigation:  WebOffice clients > WebOffice map widget > WebOffice map widget Parameters > Tool Parameters >

IDENTIFY_CLICK

Previous pageReturn to chapter overviewNext page

The parameter activetools=IDENTIFY_CLICK will display the identify tool via clickmode.

 

Note: The pixel tolerance for the  IDENTIFY_CLICK tool can be configured in WebOffice Defaults.

 

Identify via clickmode in WebOffice map widget

Identify via clickmode in WebOffice map widget

 

By clicking a feature on the map it can be selected for identify. If a feature is found, an information appears on top of the WebOffice map widget - 'Getting Info...' and the response of the selected feature is transferred to the Java Script callback function. This option is optimized for identifying features on mobile devices via a stylus.

 

The following parameters are needed in order to identify features in WebOffice map widget via clickmode:

 

Parameter

Description

query_identify_mw

External layer ID on the WebOffice 10.7 SP1 query layer.

Note: The layer must be identifyable/selectable

returnkey_identify_mw

Specifies the field to be returned in the response.

Note: It is possible to use more returnkeys separated by semicolon ';'. Please ensure to configure the returnkey as Result Field of the layer query.

callback_identify_sl

Specifies a JavaScript callback function.

startmode=IDENTIFY_CLICK (optional)

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

Note: The parameter startmode can only be used with one single tool.

 

Example:

http://w-ws-schmoelz/WebOfficeLatest/client_mapwidget/default.jsp?baseURL=http://w-ws-schmoelz/WebOfficeLatest&project=WebOffice_SampleProject&width=385&height=377&view=poi_cadaster&combined_req=true&map_adv=true&activetools=IDENTIFY_CLICK&query_identify_mw=transport&returnkey_identify_mw=E_KAT1&callback_identify_sl=parent.identifyResult