@honua/sdk-js
    Preparing search index...

    Function styleUsesPmtiles

    • Whether a composed MapLibre style references at least one pmtiles:// source. Used by loadMapPackage to decide whether the protocol must be registered before map.setStyle.

      Parameters

      • style: { sources?: Record<string, unknown> } | null | undefined
      • scheme: string = PMTILES_PROTOCOL_SCHEME

      Returns boolean