Interface ConfigurationInterface

Embed and URL configuration properties.

These properties are used to modify the behavior and appearance of NavVis IVION when first loaded.

Hierarchy

  • ConfigurationInterface

Properties

allowPointCloudActivation?: boolean

Whether to automatically show point clouds when no panorama is available. True by default.

info.terms.extra?: string

HTML to show as extra credits in about box.

info.terms.privacy?: string

HTML to show as privacy policy in about box.

lang?: string

Overrides the language settings from browser language, cookie and local store. Supported language keys are:

  • cs: Czech
  • de: German
  • en: English
  • fr: French
  • ja: Japanese
  • es: Spanish
  • zh: Simplified Chinese
  • zh_tw: Traditional Chinese
loginToken?: string

Logs a user in with the provided JWT, either for local NavVis IVION accounts or e.g. for OAuth Resource Server if the instance is set up to use one.

Note that it also removes logout functionality from the UI and that NavVis IVION will not automatically refresh the token when it is about to expire. Use api.auth.updateToken(...) to apply an updated token before the previous one expires.

onLoadComplete?: (() => void)

Type declaration

    • (): void
    • Callback that is invoked after data has been loaded and the view has moved to the starting location.

      Deprecated

      Do not use this with the NPM API, use getApi().then(callback) instead.

      Returns void

onWebGlFailed?: ((reason: string) => void)

Type declaration

    • (reason: string): void
    • Callback that is invoked when WebGL initialization has failed.

      Deprecated

      Do not use this with the NPM API, use getApi().catch(callback) instead.

      Parameters

      • reason: string

        Error message

      Returns void

tracking.code?: string

JavaScript code to insert into the page, e.g. for adding analytics.

tracking.enabled?: boolean

Whether to insert the tracking code.

uploadToken?: string

Optional, If provided along with loginToken, used for authorizing uploads with the provided JWT, either for local NavVis IVION accounts or e.g. for OAuth Resource Server if the instance is set up to use one.

When not provided, loginToken will be used.

Note that it also removes logout functionality from the UI and that NavVis IVION will not automatically refresh the token when it is about to expire. Use api.auth.updateToken(...) to apply an updated token before the previous one expires.

Generated using TypeDoc