Table of Contents

Class AnimationOptions

Namespace
Maplibre.NativeFfi.Camera
Assembly
Maplibre.NativeFfi.dll

Camera animation descriptor.

public sealed record AnimationOptions : IEquatable<AnimationOptions>
Inheritance
AnimationOptions
Implements
Inherited Members

Remarks

Compares and hashes by property value; keep an instance unmodified while it is a key in a hash-based collection.

Properties

Duration

public double? Duration { get; set; }

Property Value

double?

Easing

public UnitBezier? Easing { get; set; }

Property Value

UnitBezier?

MinimumZoom

public double? MinimumZoom { get; set; }

Property Value

double?

TransitionId

Caller-chosen identity for the transition these options start.

public ulong? TransitionId { get; set; }

Property Value

ulong?

Remarks

When set, the transition emits exactly one map camera transition-finished runtime event carrying this value in its RuntimeEventPayload.CameraTransitionFinished payload, whether it completes, is superseded, or is cancelled; the event establishes transition identity rather than a completion reason. A rejected camera command starts no transition and emits no event, and neither does leaving this property null. The value passes through uninterpreted, so callers pick their own scheme.

Velocity

public double? Velocity { get; set; }

Property Value

double?