Table of Contents

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

double?

Easing

public UnitBezier? Easing { get; init; }

Property Value

UnitBezier?

EndHandler

public CameraTransitionHandler EndHandler { get; init; }

Property Value

CameraTransitionHandler

MinZoom

The zoom level at the peak of a fly animation.

public double? MinZoom { get; init; }

Property Value

double?

TransitionId

An ID that MapHandle.CancelCameraTransitionsWithIdAsync() cancels the change by. Several changes can share one.

public ulong? TransitionId { get; init; }

Property Value

ulong?

Velocity

The average speed of a fly animation, in screens per second. duration_ms overrides it.

public double? Velocity { get; init; }

Property Value

double?