Usage of the SDK constitutes your agreement with the Matterport SDK Agreement. Email developers@matterport.com with any questions.
Index
Functions
Functions
createIdMap
-
Parameters
-
Optional invert: undefined | false | true
Returns Promise<Dictionary<string>>
-
getLabelFromId
-
Return the label associated with the provided sweep ID
The label is what's displayed for the sweep in the workshop
const label = mpSdk.Sweep.Conversion.getLabelFromId('abcdefghijklmno0123456789');
Parameters
-
id: string
Returns Promise<string>
-
Generate a map between v2 IDs and v1 IDs
This method will help with migration between IDs used for sweeps.
const mapping = await mpSdk.Sweep.Conversion.createIdMap();