Class AnimationOptions
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
How a camera change animates.
public sealed record AnimationOptions : IEquatable<AnimationOptions>
- Inheritance
-
AnimationOptions
- Implements
- Inherited Members
Remarks
See mln_animation_options in the C API reference.
Properties
DurationMs
public double? DurationMs { get; init; }
Property Value
Easing
public UnitBezier? Easing { get; init; }
Property Value
EndHandler
public CameraTransitionHandler EndHandler { get; init; }
Property Value
MinZoom
The zoom level at the peak of a fly animation.
public double? MinZoom { get; init; }
Property Value
TransitionId
An ID that MapHandle.CancelCameraTransitionsWithIdAsync() cancels
the change by. Several changes can share one.
public ulong? TransitionId { get; init; }
Property Value
Velocity
The average speed of a fly animation, in screens per second.
duration_ms overrides it.
public double? Velocity { get; init; }