Conversion | Matterport SDK
Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.

Index

Functions

Functions

createIdMap

  • createIdMap(invert?: undefined | false | true): Promise<Dictionary<string>>
  • Generate a map between v2 IDs and v1 IDs

    This method will help with migration between IDs used for rooms.

    const mapping = await mpSdk.Room.Conversion.createIdMap();
    

    Parameters

    • Optional invert: undefined | false | true

    Returns Promise<Dictionary<string>>