• id

    Identifier for this annotation

  • The geometry backing this annotation

  • The line string backing this annotation

  • Properties associated with the annotation

  • Toggles the annotation’s selection state. If the annotation is deselected, it becomes selected. If the annotation is selected, it becomes deselected.

  • Property to determine whether annotation can be manually moved around map

  • Create a polyline annotation with a LineString and an optional identifier.

  • Create a polyline annotation with an array of coordinates and an optional identifier.

  • The display of lines when joining.

  • Sorts features in ascending order based on this value. Features with a higher sort key will appear above features with a lower sort key.

  • Blur applied to the line, in pixels.

  • The color with which the line will be drawn.

  • Draws a line casing outside of a line’s actual path. Value indicates the width of the inner gap.

  • The line’s offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.

  • The opacity at which the line will be drawn.

  • Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, …, 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

  • Stroke thickness.