Add a pattern to a polygon
Use the fill-pattern
feature to draw a polygon by employing a repeating image pattern. This technique allows for the creation of visually appealing shapes by using a repeated image as a fill. To implement this, refer to the layer ⇾ fill ⇾ fill-pattern section in the GL Style Specification.
Related examples
An extension of MapLibre GL JS