wasm-spatial-core
    Preparing search index...

    Function computeBoundsMulti

    • Compute the merged bounding box of multiple coordinate buffers.

      Input: a JS Array of Float64Array coordinate buffers. Output: Float64Array of [minLng, minLat, maxLng, maxLat].

      Equivalent to calling computeBounds on each buffer individually and then merging the results, but processes all buffers in a single pass for better cache locality.

      Parameters

      • buffers: any[]

      Returns Float64Array