| Constructor and Description |
|---|
DefaultMap(GPS gps,
double radius,
java.util.List<Location> pois,
DistanceAndRoute route,
java.lang.String title,
KmlDocument kml) |
| Modifier and Type | Method and Description |
|---|---|
static DefaultMap |
create(GPS center,
double radius,
java.lang.String title) |
static DefaultMap |
create(GPS center,
double radius,
java.lang.String title,
java.util.List<Location> poi) |
static DefaultMap |
create(GPS center,
double radius,
java.lang.String title,
java.util.List<Location> poi,
DistanceAndRoute route) |
DistanceAndRoute |
getDistanceAndRoute()
get the route element form the map;
|
GPS |
getGps()
get the IGPS representing the map's central point.
|
KmlDocument |
getKml()
Get the map's image
|
MapBounds |
getMapBounds()
returns the
MapBounds of the map instance. |
java.util.List<Location> |
getPointsOfInterest()
Get the POIs marked on the map.
|
double |
getRadius()
Get the value of map radius in kilometers
|
java.lang.String |
getTitle()
Get the map's title
|
public DefaultMap(GPS gps, double radius, java.util.List<Location> pois, DistanceAndRoute route, java.lang.String title, KmlDocument kml)
gps - radius - pois - title - public static DefaultMap create(GPS center, double radius, java.lang.String title) throws GoogleMapException
GoogleMapExceptionpublic static DefaultMap create(GPS center, double radius, java.lang.String title, java.util.List<Location> poi) throws GoogleMapException
GoogleMapExceptionpublic static DefaultMap create(GPS center, double radius, java.lang.String title, java.util.List<Location> poi, DistanceAndRoute route) throws GoogleMapException
GoogleMapExceptionpublic GPS getGps()
Mappublic java.util.List<Location> getPointsOfInterest()
MapgetPointsOfInterest in interface Mappublic double getRadius()
Mappublic java.lang.String getTitle()
Mappublic KmlDocument getKml()
MapgetKml in interface MapKmlDocumentpublic DistanceAndRoute getDistanceAndRoute()
MapgetDistanceAndRoute in interface Mappublic MapBounds getMapBounds()
MapMapBounds of the map instance. Mapbounds consists of NW and SE corners.getMapBounds in interface MapCopyright © 2018 SAP SE. All Rights Reserved.