Table of Contents

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

LatLngBounds?

MaxPitch

The highest pitch, in degrees.

public double? MaxPitch { get; init; }

Property Value

double?

MaxZoom

public double? MaxZoom { get; init; }

Property Value

double?

MinPitch

The lowest pitch, in degrees.

public double? MinPitch { get; init; }

Property Value

double?

MinZoom

public double? MinZoom { get; init; }

Property Value

double?

Unbounded

Removes the area that limits the camera's center.

public bool Unbounded { get; init; }

Property Value

bool