OverviewViewportState

interface OverviewViewportState : ViewportState

The ViewportState that shows an overview of the geometry specified by its OverviewViewportStateOptions.geometry.

Use ViewportPlugin.makeOverviewViewportState to create instances of OverviewViewportState.

Note: Users are responsible to create the viewport states and keep a reference to these states for future operations.

Functions

observeDataSource
Link copied to clipboard
abstract fun observeDataSource(viewportStateDataObserver: ViewportStateDataObserver): Cancelable

Registers an observer to receive the cameras being generated by this ViewportState.

startUpdatingCamera
Link copied to clipboard
abstract fun startUpdatingCamera()

Indicates the current ViewportState is now responsible for updating the camera.

stopUpdatingCamera
Link copied to clipboard
abstract fun stopUpdatingCamera()

Indicates the current ViewportState is no longer responsible for updating the camera.

Properties

options
Link copied to clipboard
abstract var options: OverviewViewportStateOptions

Describes the configuration options of the state.