PolygonAnnotationManager
public class PolygonAnnotationManager : AnnotationManager
An instance of PolygonAnnotationManager
is responsible for a collection of PolygonAnnotation
s.
-
The collection of PolygonAnnotations being managed
Declaration
Swift
public private(set) var annotations: [PolygonAnnotation] { get set }
-
Syncs
PolygonAnnotation
s to the map NOTE: calling this repeatedly results in degraded performanceDeclaration
Swift
public func syncAnnotations(_ annotations: [PolygonAnnotation])
-
Declaration
Swift
public let sourceId: String
-
Declaration
Swift
public let layerId: String
-
Declaration
Swift
public let id: String
-
Whether or not the fill should be antialiased.
Declaration
Swift
public var fillAntialias: Bool? { get set }
-
The geometry’s offset. Values are [x, y] where negatives indicate left and up, respectively.
Declaration
Swift
public var fillTranslate: [Double]? { get set }
-
Controls the frame of reference for
fill-translate
.Declaration
Swift
public var fillTranslateAnchor: FillTranslateAnchor? { get set }
-
Set this delegate in order to be called back if a tap occurs on an annotation being managed by this manager.
Declaration
Swift
public weak var delegate: AnnotationInteractionDelegate? { get set }