PolygonAnnotationManager
public class PolygonAnnotationManager : AnnotationManagerInternal
An instance of PolygonAnnotationManager
is responsible for a collection of PolygonAnnotation
s.
-
The collection of PolygonAnnotations being managed
Declaration
Swift
public var annotations: [PolygonAnnotation] { get set }
-
Set this delegate in order to be called back if a tap occurs on an annotation being managed by this manager.
Note
This annotation manager listens to tap events via theGestureManager.singleTapGestureRecognizer
.Declaration
Swift
public weak var delegate: AnnotationInteractionDelegate?
-
Declaration
Swift
public let sourceId: String
-
Declaration
Swift
public let layerId: String
-
Declaration
Swift
public let id: String
-
Synchronizes the backing source and layer with the current
annotations
and common layer properties. This method is called automatically with each display link, but it may also be called manually in situations where the backing source and layer need to be updated earlier.Declaration
Swift
public func syncSourceAndLayerIfNeeded()
-
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 }