Polyline Annotation Group
Composable function to add a PolylineAnnotationGroup to the Map.
The PolylineAnnotationGroup is more performant than adding multiple PolylineAnnotation individually, because the PolylineAnnotationGroup is added to the map as a single layer.
PointAnnotationGroup and CircleAnnotationGroup can also be clustered based on the configuration, see AnnotationConfig.annotationSourceOptions and ClusterOptions for more details.
Parameters
List of PolylineAnnotationOptions to be added to the group.
Configuration for PolylineAnnotationCluster.
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 density-independent 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 unit of lineDasharray is in line widths.
Decrease line layer opacity based on occlusion from 3D objects. Value 0 disables occlusion, value 1 means fully occluded.
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. The unit of lineEmissiveStrength is in intensity.
The geometry's offset. Values are x, y where negatives indicate left and up, respectively. The unit of lineTranslate is in density-independent pixels.
Controls the frame of reference for {@link PropertyFactory#lineTranslate}.
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.
Callback to be invoked when one of the PolylineAnnotation in the cluster is clicked. The clicked PolylineAnnotation will be passed as parameter.