CircleAnnotationManager
public class CircleAnnotationManager : AnnotationManager
An instance of CircleAnnotationManager
is responsible for a collection of CircleAnnotation
s.
-
The collection of CircleAnnotations being managed
Declaration
Swift
public private(set) var annotations: [CircleAnnotation] { get set }
-
Syncs
CircleAnnotation
s to the map NOTE: calling this repeatedly results in degraded performanceDeclaration
Swift
public func syncAnnotations(_ annotations: [CircleAnnotation])
-
Declaration
Swift
public let sourceId: String
-
Declaration
Swift
public let layerId: String
-
Declaration
Swift
public let id: String
-
Orientation of circle when map is pitched.
Declaration
Swift
public var circlePitchAlignment: CirclePitchAlignment? { get set }
-
Controls the scaling behavior of the circle when the map is pitched.
Declaration
Swift
public var circlePitchScale: CirclePitchScale? { get set }
-
The geometry’s offset. Values are [x, y] where negatives indicate left and up, respectively.
Declaration
Swift
public var circleTranslate: [Double]? { get set }
-
Controls the frame of reference for
circle-translate
.Declaration
Swift
public var circleTranslateAnchor: CircleTranslateAnchor? { 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 }
-
The
UITapGestureRecognizer
that’s listening to touch events on the map for the annotations present in this managerDeclaration
Swift
public var tapGestureRecognizer: UITapGestureRecognizer?