BaseMultiPolygonOverlay
@available(* 2.1.0, *)
open class BaseMultiPolygonOverlay : NSObject, MultiPolygonOverlay
A base implementation of MultiPolygonOverlay protocol.
-
Undocumented
Declaration
Swift
@available(* 2.1.0, *) open class BaseMultiPolygonOverlay : NSObject, MultiPolygonOverlay -
Undocumented
Declaration
Swift
@available(* 2.1.0, *) open class BaseMultiPolygonOverlay : NSObject, MultiPolygonOverlay -
A base implementation of
MultiPolygonOverlayprotocol.Declaration
Swift
var complexShapePointCount: Int { get } -
A base implementation of
MultiPolygonOverlayprotocol.Declaration
Swift
var selected: Bool { get set } -
A base implementation of
MultiPolygonOverlayprotocol.Declaration
Swift
var polygons: [MKPolygon] { get } -
A base implementation of
MultiPolygonOverlayprotocol.Declaration
Swift
var simplifiedPolygon: MKPolygon { get } -
A base implementation of
MultiPolygonOverlayprotocol.Declaration
Swift
var simplifiedShapePointCount: Int { get } -
A base implementation of
MultiPolygonOverlayprotocol.Declaration
Swift
var uniqueIdentifier: String { get } -
Creates a new instance with given WKT string with polygons to be displayed as a single one.
Declaration
Swift
public convenience init?(uniqueIdentifier: String? = default, wkt: String)Parameters
uniqueIdentifierUnique identifier of this overlay. When
nilhash of given WKT string will be used as unique identifier.wktWKT string with serialized polygons to be displayed by this overlay.
Return Value
Properly initialized instance of
nilwhen given WKT string has no polygons or is invalid. -
Creates a new instance with given collection of polygons to be displayed as a single one.
Declaration
Swift
public init?(uniqueIdentifier: String? = default, polygons: [MKPolygon])Parameters
uniqueIdentifierUnique identifier of this overlay. When
nilhash of WKT representation of given polygons will be used as unique identifier.polygonsPolygons to be displayed by this overlay.
Return Value
Properly initialized instance of
nilwhen given collection is empty.
View on GitHub
Install in Dash
BaseMultiPolygonOverlay Class Reference