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

Overlay

interface Overlay : Annotation

A base interface defining map overlay (e.g., circle, polygon).

Functions

getColor

abstract fun getColor(): Int

Gets the color of the overlay in RGBA format.

getOpacity

abstract fun getOpacity(): Float

Gets the opacity of the overlay.

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.

Inheritors

Circle

interface Circle : Overlay, MapPoint

The base interface defining a circle that can be added to the map.

Polygon

interface Polygon : Overlay

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

Polyline

interface Polyline : Overlay

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