GuidedRouteProfile

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

Constructors

GuidedRouteProfile
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

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

Properties

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

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

distanceFilter
Link copied to clipboard
val distanceFilter: Int = 30

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

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

Gps precision in meters for each point in polyline.

pointTimestamps
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).

polyline
Link copied to clipboard
val polyline: List<GeoCoordinates>

Google polyline representation of route