Interface: EngineAdapter
Defined in: runtime/adapter.ts:24
Properties
id
id:
"maplibre"|"deckgl"
Defined in: runtime/adapter.ts:25
Methods
applyPatch()?
optionalapplyPatch(patch):void
Defined in: runtime/adapter.ts:33
Parameters
| Parameter | Type |
|---|---|
patch | SpecPatch |
Returns
void
destroy()
destroy():
void
Defined in: runtime/adapter.ts:43
Returns
void
getCapabilities()
getCapabilities():
CapabilitySet
Defined in: runtime/adapter.ts:26
Returns
getNativeInstance()
getNativeInstance():
unknown
Defined in: runtime/adapter.ts:44
Returns
unknown
mount()
mount(
container,spec,viewId):MountedView
Defined in: runtime/adapter.ts:27
Parameters
| Parameter | Type |
|---|---|
container | HTMLElement |
spec | VisualizationSpec |
viewId | string |
Returns
setSelection()?
optionalsetSelection(selection):void
Defined in: runtime/adapter.ts:42
Applies (or, with null, clears) the runtime's current selection —
swaps feature-state.selected on the live map. Optional: adapters that
don't support feature-state selection simply skip this (dispatch()
still tracks selection at the runtime level either way).
Parameters
| Parameter | Type |
|---|---|
selection | GeoVisSelection | null |
Returns
void
setView()
setView(
options):void
Defined in: runtime/adapter.ts:35
Imperatively moves the camera. Animated by default.
Parameters
| Parameter | Type |
|---|---|
options | SetViewOptions |
Returns
void
update()
update(
spec):void
Defined in: runtime/adapter.ts:32
Parameters
| Parameter | Type |
|---|---|
spec | VisualizationSpec |
Returns
void