GeoMap
Definition
You can use the GeoMap UI element to display a section of a map.
You use the values of the properties top, left, bottom, and right to specify the geographical coordinates and define the map section to be displayed. The geographical coordinates are derived from the longitude and latitude values of a geographical location and must be entered in WGS84 format based on the reference system World Geodetic System -1984 (WGS84).
The following values show a geographical section of Walldorf/Heidelberg:
|
top: 49.4304 left: 8.5082 bottom: 49.2000 right: 8.7922
|
|
Property Descriptions
- accessibilityDescriptionWhen accessibility is activated, the assigned text is added to the tooltip. This description provides semantic details of the UI element and is only read by the screen reader if the user focuses the complete Ul element.
- bottomYou can use this property to specify the value of a geographical coordinate in decimal numbers according to the standard World Geodetic System - 1984 (WGS84). Together with the value of theright property, the lower right position of the section is specified.
- geoObjectSourceYou can position so-called geo objects in the map and use them to highlight a specific position. These geo objects are used to provide specific information to the user. For example, you can mark the starting point or finishing point of a route on the map. This property must be bound to a context attribute.
- heightSpecifies the height of the UI element in pixels.
- igsURLYou can use this property to specify the Web address (URL) of the server on which the Internet Graphics Service is to run. This means that you can overwrite the global URL for which the Web Dynpro System Configuration in the default.properties file has been set.
- leftYou can use this property to specify the value of a geographical coordinate in decimal numbers according to the standard World Geodetic System - 1984 (WGS84). Together with the value of thetop property, the upper left position of the section is specified.
- moveTypeThis property specifies whether the geographical border of a map can be interactively changed by the user. The moveType property can be filled with the following values and is represented by the enumeration type WDMoveType:
none
You cannot change the geographical border.
panel
Control elements allow you to change the geographical border.
- rightYou can use this property to specify the value of a geographical coordinate in decimal numbers according to the standard World Geodetic System - 1984 (WGS84). Together with the value of the bottom property, the lower right position of the section is specified.
- topYou can use this property to specify the value of a geographical coordinate in decimal numbers according to the standard World Geodetic System - 1984 (WGS84). Together with the value of theleft property, the upper left position of the section is specified.
- widthSpecifies the width of the UI element in pixels.
- zoomTypeSpecifies the zoom behavior of the map. The zoomType property can be filled with the following values and is represented by the enumeration type WDZoomType:
none
Zooming within the map is not possible, and no control elements for zooming are available.
panel
Zooming within the map is possible.
Overview of Inherited and Additional Properties
| Name | Interface | Type | Initial Value | Bindable | Value Required |
|---|---|---|---|---|---|
| accessibilityDescription |
IWDGeoMap |
String (TranslatableText) |
|
bindable |
No |
| bottom |
IWDGeoMap |
double |
0.0 |
bindable |
No |
|
enabled |
IWDUIElement |
boolean |
true |
bindable |
No |
| geoObjectSource |
IWDGeoMap |
IWDGeoObject |
|
bindable_mandatory |
No |
| height |
IWDGeoMap |
int |
300 |
not_bindable |
No |
| igsURL |
IWDGeoMap |
String |
|
not_bindable |
No |
| left |
IWDGeoMap |
double |
0.0 |
bindable |
No |
| moveType |
IWDGeoMap |
WDMoveType |
none |
not_bindable |
No |
| right |
IWDGeoMap |
double |
0.0 |
bindable |
No |
|
tooltip |
IWDUIElement |
String (TranslatableText) |
|
bindable |
No |
| top |
IWDGeoMap |
double |
0.0 |
not_bindable |
No |
|
visible |
IWDUIElement |
WDvisibility |
visible |
bindable |
No |
| width |
IWDGeoMap |
int |
300 |
not_bindable |
No |
| zoomType |
IWDGeoMap |
WDZoomType |
none |
not_bindable |
No |
Events
- onObjectActionThis event is triggered if the user activates a geo object.
Event Parameter Type ID
String
Data Binding
For an example of data binding of the UI element properties, refer to Code Example of the Use of a Geographical Map .
