SDK JS
    Preparing search index...

    Interface LepccContainerDecoderOptions

    Construction options for LepccContainerDecoder.

    interface LepccContainerDecoderOptions {
        grid?: number;
        wasmInit?: WasmHostInit;
    }
    Index

    Properties

    Properties

    grid?: number

    Requantization grid step in the container's own source units — the tile's world = q * grid per-axis scale (meta.scale = [grid, grid, grid], offset = [0, 0, 0]). Default 0.01 (1 cm on metre data, LEPCC's own design accuracy). The SDK's shipped .lepcc assets are pre-recentered local meters, so the default keeps the full extent comfortably inside the i32 grid; raise it only for containers spanning >±21,000 km of source units.

    wasmInit?: WasmHostInit

    Where to load the decoder .wasm from. Omit in the browser to let the bundler resolve the package-sibling wasm; in Node/Bun (or for a cross-origin CDN bundle) pass wasmBytes/wasmUrl. See WasmHostInit; the wasmBytes/wasmUrl precedence is documented once on @bitruvius/geo-core's BitruviusConfig.