geoview-core
    Preparing search index...

    Function getWMSServiceMetadata

    • Fetch the json response from the XML response of a WMS getCapabilities request.

      Parameters

      • url: string

        The url the url of the WMS server.

      • Optionallayers: string

        The layers to query separate by.

      • OptionalcallbackNewMetadataUrl: CallbackNewMetadataDelegate
      • OptionalabortSignal: AbortSignal

        Abort signal to handle cancelling of fetch.

      Returns Promise<TypeMetadataWMS>

      A json promise containing the result of the query.

      Error thrown when the request exceeds the timeout duration.

      Error thrown when the request was aborted by the caller's signal.

      Error thrown when the response is not OK (non-2xx).

      Error thrown when the JSON response is empty.

      Errow thrown when a network issue happened.