Skip to content

spatial-monorepo


spatial-monorepo / imdf/src / MVFWorker

Variable: MVFWorker

const MVFWorker: object

Defined in: packages/imdf/src/mvf.worker.ts:6

Type Declaration

parseMVF

parseMVF: (input) => IMDFArchive

Parse MVF JSON on the worker thread — keeps the main thread unblocked.

Parse a Mappedin Venue Format document (JSON string or ArrayBuffer) into an IMDFArchive.

Mapping: MVF venue → venue feature + building feature MVF map → level feature MVF location → unit feature

Parameters

input

string | ArrayBuffer

Returns

IMDFArchive

Released under commercial licensing.