Annotation

abstract class Annotation : Comparable<T>

Deprecated

As of 7.0.0, use MapLibre Annotation Plugin instead

Annotation is an overlay on top of a Map.

Known subclasses are Polygon, Polyline and Marker.

This class manages attachment to a map and identification, but does not require content to be placed at a geographical point.

Inheritors

Properties

Link copied to clipboard
open var id: Long
The annotation id Internal C++ id is stored as unsigned int.

Functions

Link copied to clipboard
open fun compareTo(@NonNull annotation: Annotation): Int
Compares this Annotation object with another Annotation.
Link copied to clipboard
open fun equals(@Nullable object: Any): Boolean
Checks if this Annotation object is equal to another Annotation.
Link copied to clipboard
open fun hashCode(): Int
Gives an integer which can be used as the bucket number for storing elements of the set/map.
Link copied to clipboard
open fun remove()
Do not use this method, used internally by the SDK.
Link copied to clipboard
open fun setMapLibreMap(maplibreMap: MapLibreMap)
Do not use this method, used internally by the SDK.
Link copied to clipboard
open fun setMapView(mapView: MapView)
Do not use this method, used internally by the SDK.