Struct MapViewChange
Snapshot of the fields ViewChanged reports when the map moved.
public readonly struct MapViewChange
- Inherited Members
Constructors
MapViewChange(double, double, double, double, double, double, int)
Builds the snapshot ViewChanged passes to subscribers.
public MapViewChange(double latitude, double longitude, double zoom, double rotationDeg, double pitchDeg, double altitudeScale, int tileSizePx)
Parameters
latitudedoubleView center latitude in degrees WGS84.
longitudedoubleView center longitude in degrees WGS84.
zoomdoubleFractional zoom in Web Mercator zoom units.
rotationDegdoubleMap bearing in degrees, counterclockwise.
pitchDegdoubleCamera tilt in degrees, 0 = top-down.
altitudeScaledoubleVisual multiplier for marker altitudes; 1 = true scale.
tileSizePxintTile size in px.
Fields
AltitudeScale
public readonly double AltitudeScale
Field Value
Latitude
public readonly double Latitude
Field Value
Longitude
public readonly double Longitude
Field Value
PitchDeg
public readonly double PitchDeg
Field Value
RotationDeg
public readonly double RotationDeg
Field Value
TileSizePx
public readonly int TileSizePx
Field Value
Zoom
public readonly double Zoom