MPRouteStep

open class MPRouteStep

Constructors

Link copied to clipboard
open fun MPRouteStep()
Link copied to clipboard
open fun MPRouteStep(@NonNull routeStep: MPRouteStep)

Types

Link copied to clipboard
annotation class Locality

Functions

Link copied to clipboard
open fun addGeometry(@NonNull coordinate: MPRouteCoordinate)
open fun addGeometry(@NonNull geometry: List<MPRouteCoordinate>)
Link copied to clipboard
open fun getDistance(): Float
Link copied to clipboard
Link copied to clipboard
open fun getDuration(): Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
True if the step is inside a building Check getLocality
Link copied to clipboard
True if the step is outside a building but still inside a venue (e.g.
Link copied to clipboard
True if the step is outside a venue Check getLocality
Link copied to clipboard
Link copied to clipboard
open fun setDistanceProperty(@NonNull routeProperty: MPRouteProperty)
Link copied to clipboard
open fun setDurationProperty(@NonNull routeProperty: MPRouteProperty)
Link copied to clipboard
open fun setEndLocation(@NonNull routeCoordinate: MPRouteCoordinate)
Link copied to clipboard
open fun setStartLocation(@NonNull routeCoordinate: MPRouteCoordinate)
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
@SerializedName(value = "abutters")
@get:NonNull
open var abutters: String
Link copied to clipboard
@SerializedName(value = "available_travel_modes")
open var availableTravelModes: List<String>
Link copied to clipboard
@SerializedName(value = "end_location")
open var endLocation: MPRouteCoordinate
Link copied to clipboard
@SerializedName(value = "geometry")
open var geometry: List<MPRouteCoordinate>
Link copied to clipboard
@SerializedName(value = "highway")
@get:NonNull
open var highway: String
Link copied to clipboard
open val highwayCode: Int
Link copied to clipboard
@SerializedName(value = "html_instructions")
open var htmlInstructions: String
Link copied to clipboard
val IS_INSIDE: Int = 2
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val locality: Int
Link copied to clipboard
@SerializedName(value = "maneuver")
open var maneuver: String
Link copied to clipboard
@SerializedName(value = "polyline")
open var polyline: MPRoutePolyline
Link copied to clipboard
@SerializedName(value = "start_location")
open var startLocation: MPRouteCoordinate
Link copied to clipboard
@SerializedName(value = "steps")
open var steps: List<MPRouteStep>
Link copied to clipboard
@SerializedName(value = "transit_details")
open var transitDetails: MPTransitDetails
Link copied to clipboard
@SerializedName(value = "travel_mode")
@get:NonNull
open var travelMode: String
Link copied to clipboard