Polyline

class Polyline

A Polyline overlay which was added to the map.

Important: This is a Public Preview API. It may be changed or removed at any time.

See also

TomTomMap.addPolyline(options: PolylineOptions) to check how to add configure and add a new Polyline.

Parameters

id

Unique Polyline identifier.

Functions

Link copied to clipboard
fun remove()

Removes the Polyline from the map.

Properties

Link copied to clipboard

Determines a List of GeoPoint elements creating the Polyline.

Link copied to clipboard

The CapType of the end cap of the created Polyline.

Link copied to clipboard
Link copied to clipboard

Determines whether the Polyline is visible or hidden.

Link copied to clipboard

The inner Color of the Polyline.

Link copied to clipboard

The inner widths (width per zoom level) of the Polyline.

Link copied to clipboard

The outline Color of the Polyline.

Link copied to clipboard

The outline widths (width per zoom level) of the Polyline.

Link copied to clipboard

The CapType of the start cap of the created Polyline.