Creates a new tileset attribution provider for the given map.
the map
Disposes this tileset attribution provider. Once this method has been called this instance will no longer produce attribution change events.
Returns the current list of attribution logos. The returned list may be empty.
the current list of attribution logos
Returns the current list of attribution strings. The returned list may be empty.
the current list of attribution strings
Returns the current list of layer attributions. The returned list may be empty.
the current list of layer attributions
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
Optionalcontext: 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
Optionalcontext: 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
Optionalcontext: anyvalue to use as this when executing callback
A utility class that can provide tileset attribution information for all tilesets that are visible in a map.