Road Follower
class RoadFollower(val parent: MapMatchFilter, var route: MutableList<Way>, var lastGpsLocation: LngLatAlt?, val colorIndex: Int)
Constructors
Link copied to clipboard
constructor(parent: MapMatchFilter, route: MutableList<Way>, lastGpsLocation: LngLatAlt?, colorIndex: Int)
Properties
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun createExtendedFollower(extensionAddedAtStart: Boolean, newWay: Way, colorIndexOffset: Int): RoadFollower
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
If a Way in a route is more than 60m away, then trim it off. If we get close to it again, we can add it back in.
Link copied to clipboard
fun update(gpsLocation: LngLatAlt, collection: FeatureCollection, ruler: CheapRuler): RoadFollowerStatus
Link copied to clipboard