ArcGIS Explorer Component Help |
Point..::.GetLatitudeLongitude Method |
Point Class See Also |
Assembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
C# |
---|
public void GetLatitudeLongitude( out double latitude, out double longitude ) |
Visual Basic (Declaration) |
---|
Public Sub GetLatitudeLongitude ( _ <OutAttribute> ByRef latitude As Double, _ <OutAttribute> ByRef longitude As Double _ ) |
Parameters
- latitude
- Type:
System..::.Double
%
The latitude of the Point.
- longitude
- Type:
System..::.Double
%
The longitude of the Point.
Remarks
If the Point has a geographic coordinate system, the latitude is the same as the Y property, and the longitude is the same as the X property.
If the Point has a projected coordinate system, the latitude and longitude are the Y and X properties respectively, after the Point is projected to the underlying BaseGeographicCoordinateSystem.
There may often be confusion over translating latitude and longitude to X and Y properties, as coordinates are most commonly quoted as (latitude, longitude), but in the opposite way as (X, Y). You can use this method to help avoid such confusion.
Latitude is the angular distance of the location of a point on the earth's surface, measured north or south from the equator. The equator has a latitude of 0 degrees. Lines of latitude may also referred to as parallels. Countries with higher latitudes are nearer the poles, and countries with lower latitudes are nearer the equator.
Longitude is the angular distance of the location of a point on the earth's surface, measured east or west relative to an arbitrarily defined starting line. Lines of longitude are sometimes known as meridians, and the line of zero degrees longitude from where other positions are measured is known as the prime meridian. A commonly used prime meridian is the Greenwich Meridian, passing through Greenwich, UK. All lines of longitude are great circles that intersect the equator and pass through the North and South Poles. Lines of longitude are not equidistant at different latitudes; one degree of longitude is