Click or drag to resize

BaseGpsReceiverGetEpsg3857MapCoordinates(Double, Double, Double, Double, Double, Double, Boolean, Int32, Int32, Double, Double) Method

Returns the pixel coordinates of CRS = EPSG:3857 map.

Namespace: ZylSoft.Gps
Assembly: ZylGpsReceiver (in ZylGpsReceiver.dll) Version: 3.32.9621.18621
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static void GetEpsg3857MapCoordinates(
	double latitudeAsDecimalDegrees,
	double longitudeAsDecimalDegrees,
	double west,
	double north,
	double east,
	double south,
	bool isBoundingBoxInDecimalDegrees,
	int width,
	int height,
	out double x,
	out double y
)

Parameters

latitudeAsDecimalDegrees  Double
Latitude in decimal degrees.
longitudeAsDecimalDegrees  Double
Longitude in decimal degrees.
west  Double
Bounding box west value.
north  Double
Bounding box north value.
east  Double
Bounding box east value.
south  Double
Bounding box south value.
isBoundingBoxInDecimalDegrees  Boolean
If your map's CRS = EPSG:3857, bounding box values are in meters (west=Xmin/east=Xmax/Ymin=south/Ymax=north). Use them directly and set this parameter to false.
width  Int32
Map's width in pixels.
height  Int32
/// Map's height in pixels.
x  Double
x coordinate on the map.
y  Double
y coordinate on the map.
See Also