Expand description
The attribution text styles ask maps to show.
As MapLibre’s attribution control: every source a style’s layers draw
from contributes its attribution, read from the style, else from the
source’s TileJSON (Esri’s service JSON names it copyrightText) or
PMTiles metadata. HTML is reduced to plain text, duplicates are dropped
and the rest is joined with " | ".
Functions§
- plain_
text - Plain text from an attribution’s HTML: tags dropped, entities decoded, whitespace collapsed.