Interface MaptilerAnimationOptions
interface MaptilerAnimationOptions {
delay?: number;
duration: number;
iterations: number;
keyframes: Keyframe[];
manualMode?: boolean;
}
delay?: number;
duration: number;
iterations: number;
keyframes: Keyframe[];
manualMode?: boolean;
}
Index
Properties
Properties
Optionaldelay
delay?: number
Optional. The delay before the animation starts, in milliseconds. Defaults to 0 if not specified.
duration
duration: number
The total duration of the animation in milliseconds.
iterations
iterations: number
The number of times the animation should repeat. Use 0 for no repeat, or Infinity for an infinite loop.
keyframes
The keyframes that define the animation states at various points in time.
OptionalmanualMode
manualMode?: boolean
Optional. If true, the animation will not be automatically managed by the animation manager and must be updated manually by calling update(). Defaults to false if not specified.
Was this helpful?
Configuration options for creating an animation.
Interface
MaptilerAnimationOptions