PolylineAnnotationManager
An instance of PolylineAnnotationManager
is responsible for a collection of PolylineAnnotation
s.
-
The collection of PolylineAnnotations being managed
-
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
.
-
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.
-
The display of line endings.
-
Used to automatically convert miter joins to bevel joins for sharp angles.
-
Used to automatically convert round joins to miter joins for shallow angles.
-
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. -
The geometry’s offset. Values are [x, y] where negatives indicate left and up, respectively.
-
Controls the frame of reference for
line-translate
. -
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].