RouteStep

open class RouteStep : MPModelBase

Author

Daniel Nielsen - Copyright © 2017 MapsPeople A/S. All rights reserved.

Constructors

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

Types

Link copied to clipboard
annotation class Locality

Functions

Link copied to clipboard
open fun addGeometry(@NonNull coordinate: RouteCoordinate)
open fun addGeometry(@NonNull geometry: List<RouteCoordinate>)
Link copied to clipboard
open fun addSteps(steps: List<RouteStep>)
Unused
Link copied to clipboard
@Nullable
open fun getDistanceProperty(): RouteProperty
Link copied to clipboard
@Nullable
open fun getDurationProperty(): RouteProperty
Link copied to clipboard
@Nullable
open fun getEndFloorName(): String
Link copied to clipboard
@NonNull
open fun getEndGLatLng(): LatLng
Link copied to clipboard
@NonNull
open fun getEndPoint(): Point
Link copied to clipboard
@NonNull
open fun getLatLngs(): List<LatLng>
Link copied to clipboard
@NonNull
open fun getPoints(): List<Point>
Link copied to clipboard
@Nullable
open fun getStartFloorName(): String
Link copied to clipboard
@NonNull
open fun getStartGLatLng(): LatLng
Link copied to clipboard
@NonNull
open fun getStartPoint(): Point
Link copied to clipboard
open fun isInsideBuilding(): Boolean
True if the step is inside a building Check getLocality
Link copied to clipboard
open fun isOutsideOnVenue(): Boolean
True if the step is outside a building but still inside a venue (e.g.
Link copied to clipboard
open fun isOutsideVenue(): Boolean
True if the step is outside a venue Check getLocality
Link copied to clipboard
open fun replaceGeometryWithPolyline()
Link copied to clipboard
open fun setDistanceProperty(@NonNull routeProperty: RouteProperty)
Link copied to clipboard
open fun setDurationProperty(@NonNull routeProperty: RouteProperty)
Link copied to clipboard
@NonNull
open fun toString(): String

Properties

Link copied to clipboard
@SerializedName(value = "abutters")
@get:NonNull
private open var abutters: String
Link copied to clipboard
@SerializedName(value = "available_travel_modes")
@get:Nullable
private open var availableTravelModes: List<String>
Link copied to clipboard
@SerializedName(value = "end_location")
@get:Nullable
private open var endLocation: RouteCoordinate
Link copied to clipboard
@SerializedName(value = "geometry")
@get:Nullable
private open var geometry: List<RouteCoordinate>
Link copied to clipboard
@SerializedName(value = "highway")
@get:NonNull
private open var highway: String
Link copied to clipboard
private open val highwayCode: Int
Link copied to clipboard
@SerializedName(value = "html_instructions")
@get:Nullable
private open var htmlInstructions: String
Link copied to clipboard
val IS_INSIDE: Int
Link copied to clipboard
val IS_OUTSIDE_ON_VENUE: Int
Link copied to clipboard
val IS_OUTSIDE_VENUE: Int
Link copied to clipboard
private open val locality: Int
Link copied to clipboard
@SerializedName(value = "maneuver")
@get:Nullable
private open var maneuver: String
Link copied to clipboard
@SerializedName(value = "polyline")
@get:Nullable
private open var polyline: RoutePolyline
Link copied to clipboard
@SerializedName(value = "start_location")
@get:Nullable
private open var startLocation: RouteCoordinate
Link copied to clipboard
@SerializedName(value = "steps")
@get:Nullable
private open var steps: List<RouteStep>
Link copied to clipboard
@SerializedName(value = "transit_details")
@get:Nullable
private open var transitDetails: TransitDetails
Link copied to clipboard
@SerializedName(value = "travel_mode")
@get:NonNull
private open var travelMode: String
Link copied to clipboard
private open val travelModeVehicle: Int