LatLng Constructor (Int32, Int32, Double, NorthSouth, Int32, Int32, Double, EastWest) |
doogal.co.uk Home
Create a new LatLng object to represent a latitude/longitude pair using the
WGS84 datum.
Namespace:
DotNetCoords
Assembly:
DotNetCoords (in DotNetCoords.dll) Version: 1.0.0.22 (1.0.0.22)
Syntax public LatLng(
int latitudeDegrees,
int latitudeMinutes,
double latitudeSeconds,
NorthSouth northSouth,
int longitudeDegrees,
int longitudeMinutes,
double longitudeSeconds,
EastWest eastWest
)
Public Sub New (
latitudeDegrees As Integer,
latitudeMinutes As Integer,
latitudeSeconds As Double,
northSouth As NorthSouth,
longitudeDegrees As Integer,
longitudeMinutes As Integer,
longitudeSeconds As Double,
eastWest As EastWest
)
public:
LatLng(
int latitudeDegrees,
int latitudeMinutes,
double latitudeSeconds,
NorthSouth northSouth,
int longitudeDegrees,
int longitudeMinutes,
double longitudeSeconds,
EastWest eastWest
)
new :
latitudeDegrees : int *
latitudeMinutes : int *
latitudeSeconds : float *
northSouth : NorthSouth *
longitudeDegrees : int *
longitudeMinutes : int *
longitudeSeconds : float *
eastWest : EastWest -> LatLng
Parameters
- latitudeDegrees
- Type: SystemInt32
The degrees part of the latitude. Must be 0 <= latitudeDegrees <=
90.0. - latitudeMinutes
- Type: SystemInt32
The minutes part of the latitude. Must be 0 <= latitudeMinutes <
60.0. - latitudeSeconds
- Type: SystemDouble
The seconds part of the latitude. Must be 0 <= latitudeSeconds <
60.0. - northSouth
- Type: DotNetCoordsNorthSouth
Whether the latitude is north or south of the equator. - longitudeDegrees
- Type: SystemInt32
The degrees part of the longitude. Must be 0 <= longitudeDegrees <=
180.0. - longitudeMinutes
- Type: SystemInt32
The minutes part of the longitude. Must be 0 <= longitudeMinutes <
60.0. - longitudeSeconds
- Type: SystemDouble
The seconds part of the longitude. Must be 0 <= longitudeSeconds <
60.0. - eastWest
- Type: DotNetCoordsEastWest
Whether the longitude is east or west of the prime meridian.
Exceptions See Also