Route

open class Route : MPModelBase

Author

Jose J Varó - Copyright © 2017 MapsPeople A/S. All rights reserved.

Functions

Link copied to clipboard
open fun findNearestSegmentPathFromPoint(point: Point, floor: Int): RouteSegmentPath
Link copied to clipboard
@NonNull
open fun getCollapsedSteps(): List<RouteStep>
Link copied to clipboard
open fun getDistance(): Int
Link copied to clipboard
open fun getDuration(): Int
Link copied to clipboard
@NonNull
open fun getOverviewPolyline(): RoutePolyline

Properties

Link copied to clipboard
@SerializedName(value = "bounds")
@get:Nullable
private val bounds: Any
Link copied to clipboard
@SerializedName(value = "copyrights")
@get:Nullable
private open val copyrights: String
Link copied to clipboard
@get:Nullable
private val latLngBounds: LatLngBounds
Link copied to clipboard
@SerializedName(value = "legs")
@get:NonNull
private val legs: List<RouteLeg>
Link copied to clipboard
@SerializedName(value = "restrictions")
@get:Nullable
private open val restrictions: Array<String>
Link copied to clipboard
@SerializedName(value = "summary")
@get:Nullable
private open val summary: String
Link copied to clipboard
@SerializedName(value = "warnings")
@get:Nullable
private open val warnings: Array<String>
Link copied to clipboard
@SerializedName(value = "waypoint_order")
@get:Nullable
private open val waypoint_order: Array<Int>