Click or drag to resize

Wgs84MapGetEpsg4326MapCoordinates(Double, Double, Double, Double, Double, Double, Boolean, Int32, Int32, Double, Double) Method

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

Namespace: ZylSoft.Gps.Map
Assembly: ZylMap (in ZylMap.dll) Version: 1.8.0.0 (1.0.0.0)
Syntax
public static void GetEpsg4326MapCoordinates(
	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:4326, bounding box values are in degrees (west=Xmin/east=Xmax/Ymin=south/Ymax=north). Use them directly and set this parameter to true.
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