Skip to main content

Interface: SetViewOptions

Defined in: runtime/adapter.ts:9

Options accepted by EngineAdapter.setView and GeoVisRuntime.setView. All camera fields are optional — only provided values are applied. When animate is true (default) the adapter uses a smooth flyTo transition; when false it uses an instant jumpTo.

Properties

animate?

optional animate?: boolean

Defined in: runtime/adapter.ts:15

Whether to animate the transition. Defaults to true.


bearing?

optional bearing?: number

Defined in: runtime/adapter.ts:13


center?

optional center?: LngLat

Defined in: runtime/adapter.ts:10


pitch?

optional pitch?: number

Defined in: runtime/adapter.ts:12


zoom?

optional zoom?: number

Defined in: runtime/adapter.ts:11