Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ViewServiceInterface

Service that provides functionality that extends beyond a single view

Hierarchy

  • ViewServiceInterface

Index

Properties

allowPointCloudActivation

allowPointCloudActivation: boolean

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

Readonly onTransitionEnd

onTransitionEnd: Signal<TransitionEndHandler>

Signal that is emitted when a transition has completed

Readonly onTransitionStart

onTransitionStart: Signal<TransitionStartHandler>

Signal that is emitted when a transition to a new location is started

showSecondaryView

showSecondaryView: boolean

Whether to show the secondary view window or not.

viewSwapAllowed

viewSwapAllowed: boolean

Whether to show the button that swaps the primary and secondary view window.

Methods

getPrimaryView

  • Get the ViewType that is currently in the primary view window.

    Returns ViewType

setPrimaryView

  • Set the ViewType to be shown in the primary view window.

    Parameters

    Returns void

swapViews

  • swapViews(): void
  • Swaps the content displayed in the primary and the secondary view window.

    Returns void

updateUi

  • updateUi(): void
  • Update the HTML UI by triggering an Angular digest cycle.

    Usually the change detection is run automatically. In some rare cases, e.g. when changing the application state in a render callback, it is not run automatically and this method has to be called in order to update the UI.

    Returns void

Generated using TypeDoc