PilotGaea 2D O'view
    正在準備搜尋索引...

    類別 Attribution

    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
      ],
    ..
    

    Attribution options.

    stable

    索引

    方法

    構造函數

    方法

    • Get the attribution markup.

      回傳 string

      The attribution HTML.

      stable

    構造函數

    • 參數

      回傳 ol.Attribution

      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
        ],
      ..
      

      stable