Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Properties

Optional allowPointCloudActivation

allowPointCloudActivation?: boolean

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

Optional info.terms.extra

info.terms.extra?: string

HTML to show as extra credits in about box.

Optional info.terms.privacy

info.terms.privacy?: string

HTML to show as privacy policy in about box.

Optional lang

lang?: string

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

  • cs: Czech
  • en: English
  • de: German
  • ja: Japanese
  • zh: Simplified Chinese
  • zh_tw: Traditional Chinese

Optional loginToken

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.

Optional tracking.code

tracking.code?: string

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

Optional tracking.enabled

tracking.enabled?: boolean

Whether to insert the tracking code.

Optional uploadToken

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.

Methods

Optional onLoadComplete

  • onLoadComplete(): 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

Optional onWebGlFailed

  • onWebGlFailed(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

Generated using TypeDoc