Navigation:  Introduction to WebOffice map widget > Supported Parameters > Callback Function Parameters >

callback_selectarea_mw

Previous pageReturn to chapter overviewNext page

The parameter callback_selectarea_mw specifies the name of the JavaScript method to be used as call back function for single layer selection results.

 

The parameter's structure: MySelectCallback(FEATURES, SUCCEEDED, SCALES, COORDSYS)

FEATURES: the values of the selected features or NULL, if no feature was selected.

SUCCEEDED: it's TRUE in case the selection was successful, or FALSE if it failed.

SCALES: Defines a list of the configured scales or NULL in case no scales are configured.

COORDSYS: Defines the coordinate system of the main map service. The coordinate system includes the epsg code (if available), the name of the coordinate system and its custom projection string (WKT). Consider that the custom projection string might have a length of about 700 characters.

 

Note: The methods name MySelectCallback is just an example as well as the parameter's names.

 

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&maptransparency=1.0&activetools=SELECTAREA&query=othercities&returnkey=CITY_NAME&callback_selectarea_mw=parent.selectareaResult