public class DirectionsResult extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
DirectionsResult.Property |
Constructor and Description |
---|
DirectionsResult(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DirectionsGeocodedWaypoint[] |
getGeocodedWaypoints()
Returns value of geocodedWaypoints property.
|
DirectionsRoute[] |
getRoutes()
Returns value of routes property.
|
void |
setGeocodedWaypoints(DirectionsGeocodedWaypoint[] geocodedWaypoints)
Sets new value for geocodedWaypoints property.
|
void |
setRoutes(DirectionsRoute[] routes)
Sets new value for routes property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
@Deprecated public DirectionsResult(Map map)
map
- owner Map objectpublic DirectionsRoute[] getRoutes()
Collection of DirectionsRoutes, each of which contains information about the legs and steps of which it is composed. There will only be one route unless the DirectionsRequest was made with provideRouteAlternatives set to true.
setRoutes(com.teamdev.jxmaps.DirectionsRoute[])
public void setRoutes(DirectionsRoute[] routes)
routes
- new property valuegetRoutes()
public DirectionsGeocodedWaypoint[] getGeocodedWaypoints()
Collection of DirectionsGeocodedWaypoints, each of which contains information about the geocoding of origin, destination and waypoints.
setGeocodedWaypoints(com.teamdev.jxmaps.DirectionsGeocodedWaypoint[])
public void setGeocodedWaypoints(DirectionsGeocodedWaypoint[] geocodedWaypoints)
geocodedWaypoints
- new property valuegetGeocodedWaypoints()