PolylineController

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

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

Functions

Link copied to clipboard

Registers the OnPolylineClickListener that will be notified about any Polyline being clicked. The clicked Polyline becomes a parameter of the OnPolylineClickListener.onPolylineClicked callback.

Link copied to clipboard
abstract fun addPolyline(options: PolylineOptions): Polyline

Adds a new Polyline based on the given PolylineOptions.

Link copied to clipboard
abstract fun removePolylines()

Removes all Polyline elements from the map.

Properties

Link copied to clipboard
abstract val polylines: List<Polyline>

Returns all currently added Polyline elements.

Inheritors

Link copied to clipboard