Table of Contents

Struct MapViewChange

Namespace
LansMap.Map.Views

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

latitude double

View center latitude in degrees WGS84.

longitude double

View center longitude in degrees WGS84.

zoom double

Fractional zoom in Web Mercator zoom units.

rotationDeg double

Map bearing in degrees, counterclockwise.

pitchDeg double

Camera tilt in degrees, 0 = top-down.

altitudeScale double

Visual multiplier for marker altitudes; 1 = true scale.

tileSizePx int

Tile size in px.

Fields

AltitudeScale

public readonly double AltitudeScale

Field Value

double

Latitude

public readonly double Latitude

Field Value

double

Longitude

public readonly double Longitude

Field Value

double

PitchDeg

public readonly double PitchDeg

Field Value

double

RotationDeg

public readonly double RotationDeg

Field Value

double

TileSizePx

public readonly int TileSizePx

Field Value

int

Zoom

public readonly double Zoom

Field Value

double