Attribution Example

copyright watermark logo attribution

Shows the use of the attribution layer option on a number of layer types.

This is an example of how to add an attribution block to the OpenLayers window. In order to use an attribution block, an attribution parameter must be set in each layer that requires attribution. In addition, an attribution control must be added to the map, though one is added to all OpenLayers Maps by default. Be aware that this is a layer *option*: the options hash goes in different places depending on the layer type you are using.