PolylineAnnotationManager
public class PolylineAnnotationManager : AnnotationManagerInternal
An instance of PolylineAnnotationManager
is responsible for a collection of PolylineAnnotation
s.
-
Declaration
Swift
public var sourceId: String { get }
-
Declaration
Swift
public var layerId: String { get }
-
Declaration
Swift
public let id: String
-
The collection of
PolylineAnnotation
being managed.Declaration
Swift
public var annotations: [PolylineAnnotation] { 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
@available(*, deprecated, message: "Use tapHandler property of Annotation") public weak var delegate: AnnotationInteractionDelegate?
-
The display of line endings.
Declaration
Swift
public var lineCap: LineCap? { get set }
-
Used to automatically convert miter joins to bevel joins for sharp angles.
Declaration
Swift
public var lineMiterLimit: Double? { get set }
-
Used to automatically convert round joins to miter joins for shallow angles.
Declaration
Swift
public var lineRoundLimit: Double? { get set }
-
Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with
lineMetrics: true
specified won’t render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.Declaration
Swift
public var lineDasharray: [Double]? { get set }
-
Decrease line layer opacity based on occlusion from 3D objects. Value 0 disables occlusion, value 1 means fully occluded.
Declaration
Swift
public var lineDepthOcclusionFactor: Double? { get set }
-
Controls the intensity of light emitted on the source features. This property works only with 3D light, i.e. when
lights
root property is defined.Declaration
Swift
public var lineEmissiveStrength: Double? { get set }
-
The geometry’s offset. Values are [x, y] where negatives indicate left and up, respectively.
Declaration
Swift
public var lineTranslate: [Double]? { get set }
-
Controls the frame of reference for
line-translate
.Declaration
Swift
public var lineTranslateAnchor: LineTranslateAnchor? { get set }
-
The line part between [trim-start, trim-end] will be marked as transparent to make a route vanishing effect. The line trim-off offset is based on the whole line range [0.0, 1.0].
Declaration
Swift
public var lineTrimOffset: [Double]? { get set }