PolylineAnnotationManager

public class PolylineAnnotationManager : AnnotationManager

An instance of PolylineAnnotationManager is responsible for a collection of PolylineAnnotations.

  • Declaration

    Swift

    public let sourceId: String
  • Declaration

    Swift

    public let layerId: String
  • id

    Declaration

    Swift

    public let id: String
  • 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 }
  • Defines a gradient with which to color a line feature. Can only be used with GeoJSON sources that specify "lineMetrics": true.

    Declaration

    Swift

    public var lineGradient: ColorRepresentable? { 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 }
  • 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 manager

    Declaration

    Swift

    public var tapGestureRecognizer: UITapGestureRecognizer?