Constructors

Methods

  • Get the WMS legend URL.

    Parameters

    • url: undefined | string

      The base url of the wms service.

    • layerName: string

      The name of a wms layer.

    • Optionaloptions: WMSLegendURLOptions

      to create the legend url.

    Returns undefined | string

    The legend URL or undefined.

  • Retrieves the legend URL for a given WMTS tile layer.

    Parameters

    • olayer: TileLayer<WMTS>

      The OpenLayers tile layer object.

    Returns undefined | string

    The legend URL or undefined if not found.