PolygonManager

class PolygonManager(mapView: MapView, uuidGenerator: UUIDGenerator = DefaultUUIDGenerator(), logger: UnsupportedFeatureLogger = polygonLogger) : IPolygonDelegate

Constructors

Link copied to clipboard
constructor(mapView: MapView, uuidGenerator: UUIDGenerator = DefaultUUIDGenerator(), logger: UnsupportedFeatureLogger = polygonLogger)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addPolygon(options: OmhPolygonOptions, style: Style?): OmhPolygon
Link copied to clipboard
Link copied to clipboard
fun onStyleLoaded(style: Style)
Link copied to clipboard
open override fun removePolygon(id: String)
Link copied to clipboard
open override fun updatePolygonSource(sourceId: String, outline: List<OmhCoordinate>, holes: List<List<OmhCoordinate>>?)