PolygonAnnotation

class PolygonAnnotation(id: String, annotationManager: AnnotationManager<Polygon, PolygonAnnotation, *, *, *, *, *>, jsonObject: JsonObject, geometry: Polygon) : Annotation<Polygon>

Class for PolygonAnnotation

Constructors

Link copied to clipboard
fun PolygonAnnotation(id: String, annotationManager: AnnotationManager<Polygon, PolygonAnnotation, *, *, *, *, *>, jsonObject: JsonObject, geometry: Polygon)

Types

Link copied to clipboard
object Companion

Static variables and methods.

Functions

Link copied to clipboard
open fun getData(): JsonElement?
Link copied to clipboard
fun getJsonObjectCopy(): JsonObject
Link copied to clipboard
open override fun getOffsetGeometry(mapCameraManagerDelegate: MapCameraManagerDelegate, moveDistancesObject: MoveDistancesObject): Polygon?

Get the offset geometry for the touch point

Link copied to clipboard
open override fun getType(): AnnotationType

Get the type of this annotation

Link copied to clipboard
open fun setData(jsonElement: JsonElement?)
Link copied to clipboard
open override fun setUsedDataDrivenProperties()

Set the used data-driven properties

Properties

Link copied to clipboard

The fillColor property in Int The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color's opacity will not affect the opacity of the 1px stroke, if it is used.

Link copied to clipboard

The fillColor property in String

Link copied to clipboard

The fillOpacity property

Link copied to clipboard

The fillOutlineColor property in Int The outline color of the fill. Matches the value of {@link PropertyFactory#fillColor} if unspecified.

Link copied to clipboard

The fillOutlineColor property in String

Link copied to clipboard

The fillPattern property

Link copied to clipboard

The fillSortKey property

Link copied to clipboard
var geometry: Polygon
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var points: List<List<Point>>

A list of lists of Point for the fill, which represents the locations of the fill on the map