[Zero-Copy] In-place WGS-84 → GCJ-02.
Mutates the input [lng, lat, …] buffer directly in WASM linear memory.
[lng, lat, …]
const buf = new Float64Array(wasmMemory.buffer, ptr, len);wasm.batchWgs84ToGcj02InPlace(buf);// buf is now in GCJ-02 — no copy occurred Copy
const buf = new Float64Array(wasmMemory.buffer, ptr, len);wasm.batchWgs84ToGcj02InPlace(buf);// buf is now in GCJ-02 — no copy occurred
[Zero-Copy] In-place WGS-84 → GCJ-02.
Mutates the input
[lng, lat, …]buffer directly in WASM linear memory.