MPRouteLeg

open class MPRouteLeg

Constructors

Link copied to clipboard
open fun MPRouteLeg(distance: Float, duration: Float, @NonNull startLocation: MPPoint, @NonNull endLocation: MPPoint, @NonNull steps: List<MPRouteStep>)
Link copied to clipboard
open fun MPRouteLeg(distance: MPRouteProperty, duration: MPRouteProperty, @NonNull startLocation: MPPoint, @NonNull endLocation: MPPoint, @NonNull steps: List<MPRouteStep>)
Link copied to clipboard
open fun MPRouteLeg()
Link copied to clipboard
open fun MPRouteLeg(@NonNull oRouteLeg: MPRouteLeg)

Functions

Link copied to clipboard
open fun getDistance(): Float
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
open fun setDistance(@NonNull distance: MPRouteProperty)
Link copied to clipboard
open fun setDuration(@NonNull duration: MPRouteProperty)

Properties

Link copied to clipboard
@SerializedName(value = "end_address")
open var endAddress: String
Link copied to clipboard
@SerializedName(value = "end_location")
@get:NonNull
open val endLocation: MPRouteCoordinate
Link copied to clipboard
Link copied to clipboard
@SerializedName(value = "start_address")
open var startAddress: String
Link copied to clipboard
@SerializedName(value = "start_location")
@get:NonNull
open val startLocation: MPRouteCoordinate
Link copied to clipboard
@SerializedName(value = "steps")
@get:NonNull
open var steps: List<MPRouteStep>