Table of Contents

Struct CameraFitUpdate

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

A camera change that fits an area, for MapHandle.FitCameraToLatLngBoundsAsync() and the other fit commands.

public readonly record struct CameraFitUpdate : IEquatable<CameraFitUpdate>
Implements
Inherited Members

Remarks

A jump uses only the end handler of animation, as in CameraUpdate.

See mln_camera_fit_update in the C API reference.

Constructors

CameraFitUpdate()

public CameraFitUpdate()

CameraFitUpdate(CameraUpdateMode, CameraFitOptions, AnimationOptions)

A camera change that fits an area, for MapHandle.FitCameraToLatLngBoundsAsync() and the other fit commands.

public CameraFitUpdate(CameraUpdateMode Mode, CameraFitOptions Fit, AnimationOptions Animation)

Parameters

Mode CameraUpdateMode
Fit CameraFitOptions
Animation AnimationOptions

Remarks

A jump uses only the end handler of animation, as in CameraUpdate.

See mln_camera_fit_update in the C API reference.

Properties

Animation

public AnimationOptions Animation { get; init; }

Property Value

AnimationOptions

Fit

public CameraFitOptions Fit { get; init; }

Property Value

CameraFitOptions

Mode

public CameraUpdateMode Mode { get; init; }

Property Value

CameraUpdateMode