Follow Puck Viewport State
The ViewportState that follows that follows the location component's puck position.
Note: LocationComponentPlugin should be enabled to use this viewport state.
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
Content copied to clipboard
Observe the new camera options produced by the ViewportState, it can be used to get the latest state CameraOptions for ViewportTransition.
startUpdatingCamera
Link copied to clipboard
abstract fun startUpdatingCamera()
Content copied to clipboard
Start updating the camera for the current ViewportState.
stopUpdatingCamera
Link copied to clipboard
abstract fun stopUpdatingCamera()
Content copied to clipboard
Stop updating the camera for the current ViewportState.
Properties
options
Link copied to clipboard
Describes the configuration options of the state.