MVFv3 API Documentation
    Preparing search index...
    • A permissive MVFv3 parser, supporting all extensions our platform may use. This returns a builder should a developer want to extend it with additional extensions.

      Returns MVFParserBuilder<
          [
              TObject<
                  {
                      floors: TRef<
                          TObject<
                              {
                                  features: TArray<
                                      TRef<TObject<{ geometry: ...; properties: ...; type: ... }>>,
                                  >;
                                  type: TLiteral<"FeatureCollection">;
                              },
                          >,
                      >;
                  },
              >,
              TObject<
                  {
                      geometry: TUnsafe<
                          Partial<
                              {
                                  [x: `f_${string}`]: {
                                      features: {
                                          geometry: (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...)
                                          | (...);
                                          properties: (...) & (...);
                                          type: "Feature";
                                      }[];
                                      type: "FeatureCollection";
                                  };
                              },
                          >,
                      >;
                  },
              >,
              TObject<
                  {
                      manifest: TRef<
                          TObject<
                              {
                                  features: TArray<
                                      TObject<
                                          {
                                              geometry: TObject<(...)>;
                                              properties: TRef<(...)>;
                                              type: TLiteral<(...)>;
                                          },
                                      >,
                                  >;
                                  type: TLiteral<"FeatureCollection">;
                              },
                          >,
                      >;
                  },
              >,
          ],
          | IntegrityError
          | NavigationFlagIntegrityError
          | LocationsIntegrityError
          | FloorStacksInnerIntegrityError<InvalidDefaultFloorError>
          | FacadeIntegrityError
          | NodesIntegrityError
          | OutdoorsInnerIntegrityError<FloorInFloorStackError>
          | TilesetInnerIntegrityError<TilesetDuplicateKeyError>
          | AnnotationIntegrityError
          | TraversabilityInnerIntegrityError<InvalidGeometryStateError>,
      >

      const parser = createMVFv3Parser().build().expect('Invalid parser, this should never happen.');
      const bundle = parser.decompress(data);