RouteCoordinate

open class RouteCoordinate : MPModelBase

Author

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

Constructors

Link copied to clipboard
open fun RouteCoordinate()
Link copied to clipboard
open fun RouteCoordinate(    lat: Double,     lng: Double,     zLevel: Double)
Link copied to clipboard
open fun RouteCoordinate(@NonNull pos: Point)

Functions

Link copied to clipboard
open fun bearing(@NonNull other: RouteCoordinate): Double
Link copied to clipboard
open fun distanceTo(@NonNull dest: RouteCoordinate): Double
Link copied to clipboard
open fun getLat(): Double
Link copied to clipboard
@NonNull
open fun getLatLng(): LatLng
Link copied to clipboard
open fun getLng(): Double
Link copied to clipboard
open fun getRad(angle: Double): Double
Link copied to clipboard
open fun getzIndex(): Double
Link copied to clipboard
open fun setLat(lat: Double)
Link copied to clipboard
open fun setLng(lng: Double)
Link copied to clipboard
open fun setzIndex(zIndex: Double)
Link copied to clipboard
@NonNull
open fun toString(): String

Properties

Link copied to clipboard
@SerializedName(value = "floor_name")
@get:Nullable
private open var floorName: String
Link copied to clipboard
open val label: String
Label for displaying contextual information about this coordinate
Link copied to clipboard
@SerializedName(value = "lat")
open val latitude: Double
Link copied to clipboard
@SerializedName(value = "lng")
open val longitude: Double