AreaPolygon

open class AreaPolygon

Impacted-area polygon of an active alert, as supplied by the alerts sdk from its local cache: the area's identity tuple, its GeoJSON lon/lat rings (outer ring at index 0, holes at 1+, from BaseAlertResponse.Shape.getAsPolygon()) and the alert's polygon style.

Constructors

Link copied to clipboard
constructor(propertyId: Int, buildingId: Int, floorId: Int, @NonNull polygonId: String, @Nullable geoJsonRings: ArrayList<ArrayList<ArrayList<Double>>>, @Nullable lineColor: String, @Nullable fillColor: String, lineWidth: Float)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun getKey(): String
The overlay identity key, identical to the plotted getKey so removal targets the exact overlay.