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
  • hu: Hungarian
  • ja: Japanese
  • zh: Simplified Chinese
  • zh_tw: Traditional Chinese
  • tr: Turkish

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 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.

Type declaration

    • (): void
    • Returns void

Optional onWebGlFailed

onWebGlFailed: (reason: string) => void

Callback that is invoked when WebGL initialization has failed.

param

Error message

deprecated

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

Type declaration

    • (reason: string): void
    • Parameters

      • reason: string

      Returns void

Optional tracking.code

tracking.code: string

JavaScript tracking code from a Piwik Settings page.

Optional tracking.enabled

tracking.enabled: boolean

Enables or disables user tracking for statistics.

Generated using TypeDoc