RouteLeg

open class RouteLeg : MPModelBase

Author

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

Constructors

Link copied to clipboard
open fun RouteLeg(    distance: Float,     duration: Float,     @NonNull startLocation: Point,     @NonNull endLocation: Point,     @NonNull steps: List<RouteStep>)
Link copied to clipboard
open fun RouteLeg()
Link copied to clipboard
open fun RouteLeg(@NonNull oRouteLeg: RouteLeg)

Functions

Link copied to clipboard
@NonNull
open fun getEndFloorName(): String
Link copied to clipboard
@Nullable
open fun getEndPoint(): Point
Link copied to clipboard
@NonNull
open fun getGeometry(): List<RouteCoordinate>
Link copied to clipboard
@NonNull
open fun getLatLngs(): List<LatLng>
Link copied to clipboard
@NonNull
open fun getPoints(): List<Point>
Link copied to clipboard
@NonNull
open fun getStartFloorName(): String
Link copied to clipboard
@Nullable
open fun getStartPoint(): Point

Properties

Link copied to clipboard
@SerializedName(value = "distance")
private open var distance: RouteProperty
Link copied to clipboard
@SerializedName(value = "duration")
private open var duration: RouteProperty
Link copied to clipboard
@SerializedName(value = "end_address")
private open val endAddress: String
Link copied to clipboard
@SerializedName(value = "end_location")
@get:NonNull
private open val endLocation: RouteCoordinate
Link copied to clipboard
private open val isMapsIndoors: Boolean
Link copied to clipboard
@SerializedName(value = "start_address")
private open val startAddress: String
Link copied to clipboard
@SerializedName(value = "start_location")
@get:NonNull
private open val startLocation: RouteCoordinate
Link copied to clipboard
@SerializedName(value = "steps")
@get:NonNull
private open var steps: List<RouteStep>