The attribution control adds attribution from layers to the map display. It uses ‘attribution’ property of each layer.
ALKMaps. | The attribution control adds attribution from layers to the map display. |
Properties | |
separator | {String} String used to separate layers. |
template | {String} Template for the attribution. |
Constructor | |
ALKMaps. | |
Functions | |
destroy | Destroy control. |
draw | Initialize control. |
updateAttribution | Update attribution string. |
{String} Template for the attribution. This has to include the substring “${layers}”, which will be replaced by the layer specific attributions, separated by separator. The default is “${layers}”.
Destroy control.
destroy: function()
Initialize control.
draw: function()
Update attribution string.
updateAttribution: function()