sdk-maps / com.tomtom.online.sdk.map / Route

Route

interface Route : Annotation

A base interface defining a route that can be added to the map.

Functions

getCoordinates

abstract fun getCoordinates(): MutableList<LatLng!>

Gets the route points.

Inherited Functions

getId

abstract fun getId(): Long

Gets the annotation Id. It is generated automatically when the annotation is added to the map.

getTag

abstract fun getTag(): Any?

Gets the annotation tag. It can be used for filtering, e.g., to remove the annotation of a certain tag. Default value is set to null.