/tripkit/CommonCoreLegacy/com.skedgo.tripkit.common.model.location/PoiLocation
PoiLocation
\ class PoiLocation : Location
Constructors
PoiLocation | constructor()constructor(location: Location, placeId: String? = null) |
Types
Name | Summary |
---|---|
CREATOR | object CREATOR : Parcelable.Creator<PoiLocation> |
Properties
Functions
Name | Summary |
---|---|
describeContents | open override fun describeContents(): Int |
distanceTo | fun distanceTo(location: Location?): Int fun distanceTo(lat: Double, lon: Double): Int Get the distance between this and another point |
equals | open operator override fun equals(o: Any?): Boolean |
equalsByLatLon | fun equalsByLatLon(_loc: Location?): Boolean |
fillFrom | open fun fillFrom(other: Location?) |
getBearingTo | fun getBearingTo(other: Location): Double fun getBearingTo(lat: Double, lon: Double): Double |
hashCode | open override fun hashCode(): Int |
hasValidCoordinates | fun hasValidCoordinates(): Boolean |
isApproximatelyAt | fun isApproximatelyAt(other: Location?): Boolean fun isApproximatelyAt(lat: Double, lon: Double): Boolean |
isFavourite | fun isFavourite(favourite: Boolean) |
isLooselyApproximatelyAt | fun isLooselyApproximatelyAt(other: Location?): Boolean |
isNear | fun Location.isNear(location: Location): Boolean |
writeToParcel | open override fun writeToParcel(parcel: Parcel, flags: Int) |