Select language:

Background documentation GeoMap 

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).

Caution

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. More information: SAP Note 994568.

Example of the Visual Display

This graphic is explained in the accompanying text

 

Note

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 the View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

accessibilityDescription

Translatable text

 

Yes

bottom

F

0.0

Yes

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

 

No

enabled

WDY_BOOLEAN

true

Yes

geoObjectSource

CL_WD_GEO_OBJECT

 

Yes

height

I

300

No

igsUrl

STRING

 

No

imageSource

STRING

 

No

left

F

0.0

Yes

mapSource

STRING

 

No

moveType

WDUI_MOVE_TYPE

none

No

right

F

0.0

Yes

scale

I

1

Yes

tooltip

Translatable text

 

Yes

top

F

0.0

Yes

visible

WDUI_VISIBILITY

visible

Yes

width

I

300

No

zoomType

WDUI_GEO_MAP_ZOOM

none

No

 

Events in the View Designer

Name

onObjectAction

Note

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:

  AbstractIgsElements

  UIElements

  ContextMenuProviders

  ViewElements

Dynamic Programming

For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. Bear in mind the different spellings.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

accessibilityDescription

ACCESSIBILITY_DESCR

WDY_MD_TRANSLATABLE_TEXT

bottom

BOTTOM

F

contextMenuBehaviour

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

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

enabled

ENABLED

WDY_BOOLEAN

geoObjectSource

GEO_OBJECT_SOURCE

CL_WD_GEO_OBJECT

height

HEIGHT

I

igsUrl

IGS_URL

STRING

imageSource

IMAGE_SOURCE

STRING

left

LEFT

F

mapSource

MAP_SOURCE

STRING

moveType

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

RIGHT

F

scale

SCALE

I

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

top

TOP

F

visible

VISIBLE

WDUI_VISIBILITY

visible: none

CL_WD_GEO_MAP=>E_VISIBLE-NONE

visible: visible

CL_WD_GEO_MAP=>E_VISIBLE-VISIBLE

width

WIDTH

I

zoomType

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

onObjectAction

ON_OBJECT_ACTION

 

Example

You can find an example of this UI element in the system in component WDR_TEST_EVENTS in the view GEO_MAP.

 

 

Was this page helpful to you?