Class BoundOptions
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
Limits on the camera, for MapHandle.SetBoundsAsync().
public sealed record BoundOptions : IEquatable<BoundOptions>
- Inheritance
-
BoundOptions
- Implements
- Inherited Members
Remarks
See mln_bound_options in the C API reference.
Properties
Bounds
The area that the camera's center stays within.
public LatLngBounds? Bounds { get; init; }
Property Value
MaxPitch
The highest pitch, in degrees.
public double? MaxPitch { get; init; }
Property Value
MaxZoom
public double? MaxZoom { get; init; }
Property Value
MinPitch
The lowest pitch, in degrees.
public double? MinPitch { get; init; }
Property Value
MinZoom
public double? MinZoom { get; init; }
Property Value
Unbounded
Removes the area that limits the camera's center.
public bool Unbounded { get; init; }