Viewer360.loadPano() method

Load a panorama into current viewer.

Signature:

loadPano(panoId: number, configOrOnProgress?: Load360Config | ProgressFn): Promise<void>;

Parameters

ParameterDescription
panoIdThe asset ID in number.
configOrOnProgressConfig object for model loading. Accept config object or onProgress callback function.

Returns:

Promise<void>

a promise.