Class: AttributionHandler

AttributionHandler

Manage the attributions

new AttributionHandler(globe, options)

Parameters:
Name Type Description
globe Globe Globe
options Configuration properties
  • element : the HTML element to show attributions, can be a string (the ID) or the DOM element itself

Methods


removeAttribution(layer)

Remove attribution from HTML
Parameters:
Name Type Description
layer Layer Layer

addAttribution(layer)

Add attribution in HTML
Parameters:
Name Type Description
layer Layer Layer

toggleAttribution(layer)

Toggle attribution
Parameters:
Name Type Description
layer Layer Layer