Navigation:  Introduction to WebOffice map widget > Request Examples >

Request to navigate to WGS84 Coordinates

Previous pageReturn to chapter overviewNext page

Use this request for enabling the user to navigate to a specifc map extend by defining a WGS84 (Lat/Lon) coordinate.

 

Use the same parameters like Request to get a dynamic Map Image, but instead of X/Y Coordinates use the parameters lon and lat.

 

lon (mandatory)

This parameter specifies the east-west position of a point on the Earth's surface. This parameter is required for returning useful results and must be used in conjunction with parameter lat. If e.g. the requested map image should be centered at '16° 22′ 23″ E' then use lon=16.373064 .

Note: As delimiter a „.“ must be used (local independent).

 

lat (mandatory)

This parameter specifies the north-south position of a point on the Earth's surface.This parameter is required for returning useful results and must be used in conjunction with parameter lon. If e.g. the requested map image should be centered at  '48° 12′ 30″ N' then use lat=48.20833 .

Note: As delimiter a „.“ must be used (local independent).

 

coordmarker_lat_lon

This parameter displays a marker at a specific position.

Note: As delimiter for several positions a semicolon (;) must be used. E.g. coordmarker_lat_lon=47.505%209.749167;15%2047.5 , where '%20' encodes a space.

 

coordmarker_id

This parameter defines a specific marker symbol which is configured in the project configuration. Therefore an 'External marker-ID' has to be configured. (See 'Meeting Point' for further information.)

If the parameter coordmarker_id is not implemented, the default symbol (a red cross, which must be accessible in the 'pub'-directory of WebOffice Web-Application.) will be displayed.

Note: If the tool 'Meeting Point', however, should not be used in all other WebOffice clients (html, flex or mobile) then set the tools option 'Use tool?' to 'No'.

 

Possible requests:

1.The Default-Symbol is displayed at one position:

 coordmarker_lat_lon=11%2044

 

2.A symbol with the external ID 'meet_green' is displayed at a specific position:

 coordmarker_lat_lon=11%2044&coordmarker_id=meet_green

 

3.A symbol with the external ID 'meet_green' is displayed at two different positions:

 coordmarker_lat_lon=11%2044;15%2047.5&coordmarker_id=meet_green

 

4.Four different positions are marked with two different symbols:

 coordmarker_lat_lon=11%2044;15%2047.5&coordmarker_id=meet_green&coordmarker_lat_lon=14%2047;18%2044&coordmarker_id=meet_blue

 OR:

 coordmarker_lat_lon_0=11%2044;15%2047.5&coordmarker_lat_lon_1=14%2047;144&coordmarker_id_0=meet_green&coordmarker_id_1=meet_blue

 

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&activetools=NAVIGATION&mapmargin=1&lat=47.07&lon=15.45&coordmarker_lat_lon_0=47.07%2015.45;47.08%2015.45&coordmarker_lat_lon_1=47.09%2015.42;47.10%2015.42&coordmarker_id_0=green&coordmarker_id_1=blue