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.MapAssembly: ZylMap (in ZylMap.dll) Version: 1.8.0.0 (1.0.0.0)
Syntaxpublic 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
)
Public Shared Sub GetEpsg4326MapCoordinates (
latitudeAsDecimalDegrees As Double,
longitudeAsDecimalDegrees As Double,
west As Double,
north As Double,
east As Double,
south As Double,
isBoundingBoxInDecimalDegrees As Boolean,
width As Integer,
height As Integer,
<OutAttribute> ByRef x As Double,
<OutAttribute> ByRef y As Double
)
public:
static void GetEpsg4326MapCoordinates(
double latitudeAsDecimalDegrees,
double longitudeAsDecimalDegrees,
double west,
double north,
double east,
double south,
bool isBoundingBoxInDecimalDegrees,
int width,
int height,
[OutAttribute] double% x,
[OutAttribute] double% y
)
static member GetEpsg4326MapCoordinates :
latitudeAsDecimalDegrees : float *
longitudeAsDecimalDegrees : float *
west : float *
north : float *
east : float *
south : float *
isBoundingBoxInDecimalDegrees : bool *
width : int *
height : int *
x : float byref *
y : float byref -> unit 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