GuidedRouteProfile

data class GuidedRouteProfile @JvmOverloads constructor(val polyline: List<GeoCoordinates>, val pointPrecisions: List<Int>? = null, val candidateRanges: List<Int>? = null, val pointTimestamps: List<Int>? = null, val distanceFilter: Int = 30) : Parcelable

Constructors

Link copied to clipboard
fun GuidedRouteProfile(polyline: List<GeoCoordinates>, pointPrecisions: List<Int>? = null, candidateRanges: List<Int>? = null, pointTimestamps: List<Int>? = null, distanceFilter: Int = 30)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val candidateRanges: List<Int>? = null

Search area radius for each point, in which road candidates are searched.

Link copied to clipboard

Filter points closer than provided distance. Value should be greater than 0. Default value is 30 meters NOTE: If pointPrecisions, candidateRanges or pointTimestamps are not the same size as polyline, they will be ignored

Link copied to clipboard
val pointPrecisions: List<Int>? = null

Gps precision in meters for each point in polyline.

Link copied to clipboard
val pointTimestamps: List<Int>? = null

Gps relative timestamp in milliseconds for each point in polyline. Used for filtering. Timestamps represent relative time sequence of positions as they have appeared (e.g from gps signal).

Link copied to clipboard

Google polyline representation of route