Interface LoadMapPackageOfflineRegion

Binding between a composed style and one persisted offline region.

interface LoadMapPackageOfflineRegion {
    maplibre?: MaplibreProtocolRegistrar;
    sourceIds?: readonly string[];
    tileHandler: OfflineRegionTileHandler;
    tileMatrixSetId?: string;
}

Properties

Injected MapLibre registrar; defaults to the lazily imported peer.

sourceIds?: readonly string[]

Style source ids to rewrite onto the region. Omit to bind an already-rewritten style.

Handler from createOfflineRegionTileProtocol() in @honua/sdk-js/offline.

tileMatrixSetId?: string

Tile-matrix-set segment of the rewritten URLs. Defaults to "default".