Share via


LatLong Class

LatLong Class

Contains latitude and longitude coordinates.

Public Class LatLong
    Member of [Namespace]
[C#]
public class LatLong : System.Object
    Member of [Namespace]

Public Properties

public propertyLatitude The latitude coordinate as a decimal degree value in World Geodetic System 1984 (WGS 84) datum. Double.
public propertyLongitude The longitude coordinate as a decimal degree value in WGS 84 datum. Double.

Remarks

On output, the LatLong object is returned from the RenderServiceSoap.ConvertToLatLong method.

The LatLong object is used as input with:

  • the latLongs parameter to the CommonServiceSoap.GetGreatCircleDistances method.
  • the FindNearbySpecification.LatLong property, which is passed to the FindServiceSoap.FindNearby method.
  • the location parameter to the FindServiceSoap.GetLocationInfo method.
  • the latLong parameter to the RenderServiceSoap.ConvertToPoint method.
  • the latLongs parameter to the RouteServiceSoap.CalculateSimpleRoute method.

The LatLong object is also used with the CountryRegionInfo.LatLong, LatLongRectangle.Southwest, LatLongRectangle.Northeast, Location.LatLong, ViewByHeightWidth.CenterPoint, ViewByScale.CenterPoint, Pushpin.LatLong, and Direction.LatLong properties.

See Also

RenderServiceSoap.ConvertToLatLong Method | CommonServiceSoap.GetGreatCircleDistances Method | FindNearbySpecification.LatLong Property | FindServiceSoap.FindNearby Method | FindServiceSoap.GetLocationInfo Method | RenderServiceSoap.ConvertToPoint Method | RouteServiceSoap.CalculateSimpleRoute Method | CountryRegionInfo.LatLong Property | LatLongRectangle.Southwest Property | LatLongRectangle.Northeast Property | Location.LatLong Property | ViewByHeightWidth.CenterPoint Property | ViewByScale.CenterPoint Property | Pushpin.LatLong Property | Direction.LatLong Property