Other Interfaces in the Business Graphics UI
Element Library 
The BusinessGraphics UI element library provides a variety of other interfaces
and classes, which you can use – for example – to display a route
in a specific map section. These interfaces include:
·
IWDGeoCoder
·
IWDGeoRouter
·
WDGeoFactory
A description of all existing interfaces, classes, and their methods is
available in the Javadocs in the SAP NetWeaver Developer Studio, under
Reference Guide ® API Reference in package com.sap.tc.webdynpro.clientserver.uielib.graphics.api.
When you define a GeoMap UI element, you can not only represent geographic
objects on a map, but also display any given route. The IWDGeoCoder
interface can be used to calculate a route of geographic coordinates between
given addresses for the departure and destination points. To do so, you define
the addresses of the desired route. The geographic coder Geo-Coder, which is
represented by class IWDGeoCoder, calculates the geographic coordinates
and returns a list of result addresses of type WDGeoCoderResultAddress
for each address. Interface IWDGeoRouter can then be used to calculate
the complete route, from departure point to destination point, from these
geographic coordinates.
The
example for
displaying a geographic route illustrates the use of these interfaces and
provides a brief overview of how to implement the geographic routing in the
view context.
For a
detailed description of how to use these interfaces, see the tutorial
Using Geographic
Services with Web Dynpro.