Route
Collection of maneuvers and roadElements connecting two or more waypoints. Waypoints may be thought of as the input to a route calculation whereas maneuvers are the results of calculating a route.
Functions
describe Contents
Link copied to clipboard
For documentation, see android.os.Parcelable.
deserialize From Full JSON
Link copied to clipboard
Deserialize route from json generated with serializeToFullJSON.
get Bounding Box
Link copied to clipboard
The smallest GeoBoundingBox that contains the entire route.
get Destination
Link copied to clipboard
Returns the destination waypoint of the route
get Maneuvers
Link copied to clipboard
Returns an array of directions for current route object from start.
get Native Route Count For Handle
Link copied to clipboard
get Polylines From Route Segments
Link copied to clipboard
open fun getPolylinesFromRouteSegments(routeSegments: List<RouteSegment>): List<GeoPolyline>
Content copied to clipboard
Returns list of GeoPolylines representing route segments
get Route Elements
Link copied to clipboard
open fun getRouteElements(@NonNull listener: RouteElementsListener, @Nullable executor: Executor)
Content copied to clipboard
Returns a list of RouteElement objects for current route object from start.
get Route Geometry
Link copied to clipboard
Returns list of coordinates representing route geometry
open fun getRouteGeometry(withAltitude: Boolean, @NonNull listener: GeometryListener)
Content copied to clipboard
open fun getRouteGeometry(withAltitude: Boolean, @NonNull listener: GeometryListener, @Nullable executor: Executor)
Content copied to clipboard
Returns geometry with altitude of route.
get Route Id
Link copied to clipboard
Returns the unique id identifies the route.
get Route Info
Link copied to clipboard
Returns basic route info.
get Route Request
Link copied to clipboard
Returns options used for computing this route.
get Route Violated Avoid Options
Link copied to clipboard
get Route Warnings
Link copied to clipboard
open fun getRouteWarnings(@NonNull listener: RouteWarningsListener, @Nullable executor: Executor)
Content copied to clipboard
Returns a list of RouteWarning warnings, which occurred during route calculation.
get Transit Countries
Link copied to clipboard
Returns list of countries route is passing by
get Transit Countries Info
Link copied to clipboard
open fun getTransitCountriesInfo(@NonNull listener: TransitCountriesInfoListener)
Content copied to clipboard
open fun getTransitCountriesInfo(@NonNull listener: TransitCountriesInfoListener, @Nullable executor: Executor)
Content copied to clipboard
Retrieves list of countries route is passing by with regions, if available
get Waypoints
Link copied to clipboard
List of Waypoints on the route including starting point and destination.
is Valid Parcelable
Link copied to clipboard
If object after recreate from parcel contains all of reference like original object method return true.
serialize To Brief JSON
Link copied to clipboard
Serialize the route to a JSON string.
serialize To Full JSON
Link copied to clipboard
Serialize the route to a JSON string.
write To Parcel
Link copied to clipboard
For documentation, see android.os.Parcelable.writeToParcel().
Properties
CREATOR
Link copied to clipboard