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 GeoMap UI element can only be used with a special software component that is provided by the geographical maps.
This software component, which you can use to expand the Internet Graphics Service (IGS), is not delivered with AS-ABAP. It must be purchased from a third-party provider. The GeoMap UI element cannot be displayed without this complementary software component. See also SAP Note 994568.
Example of the Visual Display
To enable the development of accessible applications, the properties accessbilityDescription and tooltip are checked during the syntax check.
Runtime Class |
CL_WD_GEO_MAP |
Properties in View Designer
Name | Type | Initial Value | Bindable |
---|---|---|---|
STRING |
(automatic) |
No |
|
Translatable text |
Yes |
||
F |
0.0 |
Yes |
|
WDUI_CONTEXT_MENU_BEHAVIOUR |
inherit |
No |
|
WDY_MD_UI_ELEMENT_REFERENCE |
No |
||
WDY_BOOLEAN |
true |
Yes |
|
CL_WD_GEO_OBJECT |
Yes |
||
I |
300 |
No |
|
STRING |
No |
||
STRING |
No |
||
F |
0.0 |
Yes |
|
STRING |
No |
||
WDUI_MOVE_TYPE |
none |
No |
|
F |
0.0 |
Yes |
|
I |
1 |
Yes |
|
Translatable text |
Yes |
||
F |
0.0 |
Yes |
|
WDUI_VISIBILITY |
visible |
Yes |
|
I |
300 |
No |
|
WDUI_GEO_MAP_ZOOM |
none |
No |
Events in View Designer
Name |
---|
Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:
For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.
Dynamic Programming of Properties
View Designer Name | Runtime Name | Type |
---|---|---|
ACCESSIBILITY_DESCR |
WDY_MD_TRANSLATABLE_TEXT |
|
BOTTOM |
F |
|
CONTEXT_MENU_BEHAVIOUR |
WDUI_CONTEXT_MENU_BEHAVIOUR |
|
contextMenuBehaviour: inherit |
CL_WD_GEO_MAP=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT |
|
contextMenuBehaviour: provide |
CL_WD_GEO_MAP=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE |
|
contextMenuBehaviour: suppress |
CL_WD_GEO_MAP=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS |
|
CONTEXT_MENU_ID |
WDY_MD_UI_ELEMENT_REFERENCE |
|
ENABLED |
WDY_BOOLEAN |
|
GEO_OBJECT_SOURCE |
CL_WD_GEO_OBJECT |
|
HEIGHT |
I |
|
IGS_URL |
STRING |
|
IMAGE_SOURCE |
STRING |
|
LEFT |
F |
|
MAP_SOURCE |
STRING |
|
MOVE_TYPE |
WDUI_MOVE_TYPE |
|
moveType: mouse |
CL_WD_GEO_MAP=>E_MOVE_TYPE-MOUSE |
|
moveType: none |
CL_WD_GEO_MAP=>E_MOVE_TYPE-NONE |
|
moveType: panel |
CL_WD_GEO_MAP=>E_MOVE_TYPE-PANEL |
|
moveType: panelAndMouse |
CL_WD_GEO_MAP=>E_MOVE_TYPE-PANEL_AND_MOUSE |
|
RIGHT |
F |
|
SCALE |
I |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
TOP |
F |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_GEO_MAP=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_GEO_MAP=>E_VISIBLE-VISIBLE |
|
WIDTH |
I |
|
ZOOM_TYPE |
WDUI_GEO_MAP_ZOOM |
|
zoomType: none |
CL_WD_GEO_MAP=>E_ZOOM_TYPE-NONE |
|
zoomType: panel |
CL_WD_GEO_MAP=>E_ZOOM_TYPE-PANEL |
Dynamic Programming of Events
View Designer Name | Runtime Name |
---|---|
ON_OBJECT_ACTION |
You can find an example of this UI element in the system in component WDR_TEST_EVENTS in the view GEO_MAP.