Classdesc

An attribution for a layer source.

Example:

source: new ol.source.OSM({
attributions: [
new ol.Attribution({
html: 'All maps © ' +
'<a href="http://www.opencyclemap.org/">OpenCycleMap</a>'
}),
ol.source.OSM.ATTRIBUTION
],
..

Param: options

Attribution options.

Struct

Api

stable

Constructors

Methods

Constructors

  • Parameters

    Returns ov2D3D.MapClient.ol.Attribution

    Classdesc

    An attribution for a layer source.

    Example:

    source: new ol.source.OSM({
    attributions: [
    new ol.Attribution({
    html: 'All maps &copy; ' +
    '<a href="http://www.opencyclemap.org/">OpenCycleMap</a>'
    }),
    ol.source.OSM.ATTRIBUTION
    ],
    ..

    Struct

    Api

    stable

Methods

  • Get the attribution markup.

    Returns string

    The attribution HTML.

    Api

    stable

Generated using TypeDoc