Package com.tomtom.sdk.maps.display.polyline

Types

Link copied to clipboard
enum CapType : Enum<CapType>

Type of line start/end caps.

Link copied to clipboard
fun interface OnPolylineClickListener

Interface for notifying about the Polyline being clicked.

Link copied to clipboard
class Polyline

A Polyline overlay which was added to the map.

Link copied to clipboard
interface PolylineController

Controls Polyline-specific features on the map. Allows Polyline management and the user interactions with the Polyline.

Link copied to clipboard
class PolylineNotFoundException(id: UniqueId) : RuntimeException

Exception thrown when a Polyline with the given id cannot be found on the map.

Link copied to clipboard
data class PolylineOptions(    var coordinates: List<GeoCoordinate>,     val lineColor: Color = DEFAULT_LINE_COLOR,     val lineWidth: Double = DEFAULT_LINE_WIDTH,     val outlineColor: Color = DEFAULT_OUTLINE_COLOR,     val outlineWidth: Double = DEFAULT_OUTLINE_WIDTH,     val lineStartCapType: CapType = DEFAULT_START_CAP_TYPE,     val lineEndCapType: CapType = DEFAULT_END_CAP_TYPE)

Configures options for a Polyline overlay which can be added and displayed on the map. See the TomTomMap.addPolyline(options: PolylineOptions) to check how to add a new Polyline.