Skip to main content

attribution

Function attribution 

Source
pub fn attribution(
    styles: &[String],
    auth_token: Option<&str>,
) -> Result<String, BasemapError>
Expand description

The attribution text of styles (stacked styles, the strings Basemap takes): every source the styles draw from contributes its attribution (from the style, its TileJSON or PMTiles metadata), as plain text, without duplicates, joined with " | ". Empty when none is given.