For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Type Alias AnimatedRouteLayerOptions
AnimatedRouteLayerOptions: {
autoplay?: boolean;
cameraAnimation?: AnimatedCameraOptions;
delay?: number;
duration?: number;
easing?: EasingFunctionName;
iterations?: number;
manualUpdate?: boolean;
pathStrokeAnimation?: AnimatedStrokeOptions;
} & (
| { keyframes: Keyframe[]; source?: never }
| { keyframes?: never; source: SourceData }
)
autoplay?: boolean;
cameraAnimation?: AnimatedCameraOptions;
delay?: number;
duration?: number;
easing?: EasingFunctionName;
iterations?: number;
manualUpdate?: boolean;
pathStrokeAnimation?: AnimatedStrokeOptions;
} & (
| { keyframes: Keyframe[]; source?: never }
| { keyframes?: never; source: SourceData }
)
Type Declaration
-
Optionalautoplay?: booleanWhether the animation should autoplay
-
OptionalcameraAnimation?: AnimatedCameraOptionsThe camera animation options
-
Optionaldelay?: numberThe delay in ms before playing
-
Optionalduration?: numberThe Duration in ms
-
Optionaleasing?: EasingFunctionNameThe default easing to use if not provided in teh GeoJSON
-
Optionaliterations?: numberThe number of iterations
-
OptionalmanualUpdate?: booleanWhether the animation should auto matically animated or whether the frameAdvance method should be called
-
OptionalpathStrokeAnimation?: AnimatedStrokeOptionsThe stroke animation options, only viable for LineString geometries
- { keyframes: Keyframe[]; source?: never }
-
keyframes: Keyframe[]
The keyframes for the the animation OR
-
Optionalsource?: never
-
- { keyframes?: never; source: SourceData }
-
Optionalkeyframes?: never -
source: SourceData
The source data
-
Configuration options for the AnimatedRouteLayer. This type supports either providing keyframes directly OR source data for the animation.