Interface: LayerTransition
Defined in: spec/types.ts:406
Declarative, engine-agnostic animated transition for a VisualizationLayer.
'crossfade' is the only kind in v1 and applies exclusively to point
(circle) layers whose geojson source data reference changes.
Example
const transition: LayerTransition = { kind: 'crossfade', durationMs: 400 };
Properties
durationMs?
optionaldurationMs?:number
Defined in: spec/types.ts:410
Total fade duration in milliseconds.
Default
400
easing?
optionaleasing?:"linear"|"ease-out"|"ease-in-out"
Defined in: spec/types.ts:412
Easing curve applied to the fade progress.
Default
'ease-out'
kind
kind:
"crossfade"
Defined in: spec/types.ts:408
Discriminator. 'crossfade' fades old points out while new points fade in.