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
Link copied to clipboard
For documentation, see android.os.Parcelable.
Link copied to clipboard
Deserialize route from json generated with serializeToFullJSON.
Link copied to clipboard
The smallest GeoBoundingBox that contains the entire route.
Link copied to clipboard
Returns the destination waypoint of the route
Link copied to clipboard
Returns an array of directions for current route object from start.
Link copied to clipboard
Link copied to clipboard
Returns list of GeoPolylines representing route segments
Link copied to clipboard
Returns a list of RouteElement objects for current route object from start.
Link copied to clipboard
Returns list of coordinates representing route geometry
open fun getRouteGeometry(withAltitude: Boolean, @NonNull listener: GeometryListener, @Nullable executor: Executor)
Returns geometry with altitude of route.
Link copied to clipboard
Returns the unique id identifies the route.
Link copied to clipboard
Returns basic route info.
Link copied to clipboard
Returns options used for computing this route.
Link copied to clipboard
Returns a list of RouteWarning warnings, which occurred during route calculation.
Link copied to clipboard
Returns list of countries route is passing by
Link copied to clipboard
open fun getTransitCountriesInfo(@NonNull listener: TransitCountriesInfoListener, @Nullable executor: Executor)
Retrieves list of countries route is passing by with regions, if available
Link copied to clipboard
List of Waypoints on the route including starting point and destination.
Link copied to clipboard
If object after recreate from parcel contains all of reference like original object method return true.
Link copied to clipboard
Serialize the route to a JSON string.
Link copied to clipboard
Serialize the route to a JSON string.
Link copied to clipboard
For documentation, see android.os.Parcelable.writeToParcel().