GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Fetches WMTS GetCapabilities XML, resolves the XYZ tile URL template, and caches the result for subsequent calls with the same GetCapabilities URL.

      Parameters

      • definition: BasemapDefinition

        Basemap config with wmts.getCapabilitiesUrl and optional wmts.layer, wmts.tileMatrixSet, wmts.format.

      • Optionalsignal: AbortSignal

        Optional AbortSignal for cooperative cancellation.

      Returns Promise<string | null>

      The resolved XYZ tile URL, or null on failure or cancellation.