Creates a new tileset attribution provider for the given map.
the map
Returns the current list of layer attributions. The returned list may be empty.
the current list of layer attributions
2023.1
Event fired when the attribution logos change.
the 'AttributionLogosChanged' event
the callback to be invoked when the attribution logos change. The callback gets the 'logos' parameter, which is an array of strings containing the updated list of logo URLs
Optional
context: anyvalue to use as this when executing callback
Event fired when the attribution strings change.
the 'AttributionStringsChanged' event
the callback to be invoked when the attribution strings change. The callback gets the 'strings' parameter, which is an array of strings containing the updated list of attribution strings
Optional
context: anyvalue to use as this when executing callback
Event fired when the layer attributions change
the 'LayerAttributionsChanged' event
the callback to be invoked when the layer attributions change. The callback gets the 'attributions' parameter, which is an array of LayerAttribution containing the updated list of layer attributions
Optional
context: anyvalue to use as this when executing callback
2023.1
A utility class that can provide tileset attribution information for all tilesets that are visible in a map.