Table of Contents

Class CameraFitOptions

Namespace
Maplibre.NativeFfi
Assembly
Maplibre.NativeFfi.dll

Options for finding the camera that fits an area.

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

Remarks

See mln_camera_fit_options in the C API reference.

Properties

Bearing

The rotation from north, in degrees.

public double? Bearing { get; init; }

Property Value

double?

Padding

Space to leave between the area and each edge of the map. The left and right insets must add up to less than the map's width, and the top and bottom to less than its height.

public EdgeInsets? Padding { get; init; }

Property Value

EdgeInsets?

Pitch

The tilt toward the horizon, in degrees.

public double? Pitch { get; init; }

Property Value

double?