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
ModeCameraUpdateModeFitCameraFitOptionsAnimationAnimationOptions
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
Fit
public CameraFitOptions Fit { get; init; }
Property Value
Mode
public CameraUpdateMode Mode { get; init; }