The parameter callback_location_mw specifies the name of the JavaScript method to be used as call back function for a geolocation result.
As a response you will get a boolean variable, which indicates whether the query was successful or not. Besides you will get the coordinates (x/y coordinates) and the precision of the current position.
The parameter's structure: MyCallbackLocation(X, Y, PRECISION, SUCCEEDED, SCALES, COORDSYS)
X: The x coordinate of the current position
Y: The y coordinate of the current position
PRECISION: The precision of the current position (in meters)
SUCCEEDED: true, if the geolocation was successful
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 MyCallbackLocation is just an example as well as the parameter's names.
Example:
http://w-vpc-ts-w7-e/WebOfficeLatest/client_mapwidget/default.jsp?baseURL=http://w-vpc-ts-w7-e/WebOfficeLatest&project=World&width=600&height=400&combined_req=true&map_adv=true&maptransparency=0.0&mapmargin=1&max_accuracy_mw=250000&callback_location_mw=locationResult&activetools=LOCATION