Struct BoundOptions
- Namespace
- MapLibreNative.Maui
Camera bounds returned by GetBounds().
public readonly record struct BoundOptions : IEquatable<BoundOptions>
- Implements
- Inherited Members
Constructors
BoundOptions(double, double, double, double, double, double, double, double)
Camera bounds returned by GetBounds().
public BoundOptions(double LatSw, double LonSw, double LatNe, double LonNe, double MinZoom, double MaxZoom, double MinPitch, double MaxPitch)
Parameters
LatSwdoubleSouth latitude of the bounding box, or NaN if unset.
LonSwdoubleWest longitude of the bounding box, or NaN if unset.
LatNedoubleNorth latitude of the bounding box, or NaN if unset.
LonNedoubleEast longitude of the bounding box, or NaN if unset.
MinZoomdoubleMinimum zoom, or NaN if unset.
MaxZoomdoubleMaximum zoom, or NaN if unset.
MinPitchdoubleMinimum pitch (degrees), or NaN if unset.
MaxPitchdoubleMaximum pitch (degrees), or NaN if unset.
Properties
LatNe
North latitude of the bounding box, or NaN if unset.
public double LatNe { get; init; }
Property Value
LatSw
South latitude of the bounding box, or NaN if unset.
public double LatSw { get; init; }
Property Value
LonNe
East longitude of the bounding box, or NaN if unset.
public double LonNe { get; init; }
Property Value
LonSw
West longitude of the bounding box, or NaN if unset.
public double LonSw { get; init; }
Property Value
MaxPitch
Maximum pitch (degrees), or NaN if unset.
public double MaxPitch { get; init; }
Property Value
MaxZoom
Maximum zoom, or NaN if unset.
public double MaxZoom { get; init; }
Property Value
MinPitch
Minimum pitch (degrees), or NaN if unset.
public double MinPitch { get; init; }
Property Value
MinZoom
Minimum zoom, or NaN if unset.
public double MinZoom { get; init; }