Struct CameraResult
- Namespace
- MapLibreNative.Maui
Camera result from a fit-to-points operation.
public readonly record struct CameraResult : IEquatable<CameraResult>
- Implements
- Inherited Members
Constructors
CameraResult(double, double, double, double, double)
Camera result from a fit-to-points operation.
public CameraResult(double Lat, double Lon, double Zoom, double Bearing, double Pitch)
Parameters
LatdoubleCenter latitude, or NaN if no result.
LondoubleCenter longitude, or NaN if no result.
ZoomdoubleZoom level, or NaN if no result.
BearingdoubleBearing in degrees, or NaN if no result.
PitchdoublePitch in degrees, or NaN if no result.
Properties
Bearing
Bearing in degrees, or NaN if no result.
public double Bearing { get; init; }
Property Value
Lat
Center latitude, or NaN if no result.
public double Lat { get; init; }
Property Value
Lon
Center longitude, or NaN if no result.
public double Lon { get; init; }
Property Value
Pitch
Pitch in degrees, or NaN if no result.
public double Pitch { get; init; }
Property Value
Zoom
Zoom level, or NaN if no result.
public double Zoom { get; init; }