• id

    Identifier for this annotation

  • The geometry backing this annotation

  • The polygon 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 polygon annotation with a Polygon and an optional identifier.

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

  • The color of the filled part of this layer. This color can be specified as rgba with an alpha component and the color’s opacity will not affect the opacity of the 1px stroke, if it is used.

  • The opacity of the entire fill layer. In contrast to the fill-color, this value will also affect the 1px stroke around the fill, if the stroke is used.

  • The outline color of the fill. Matches the value of fill-color if unspecified.

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