GeoCoordinate Constructor

Initializes a new GeoCoordinate instance.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.1.0+9753915cd0f8006e7e5b4f62aa63aa3651006f06
C#
public GeoCoordinate(
	double latitude,
	double longitude,
	float? uncertainty = null
)

Parameters

latitude  Double
Latitude (value between -90 and 90).
longitude  Double
Longitude (value between -180 and 180).
uncertainty  NullableSingle  (Optional)
The amount of uncertainty in the location as a value in meters, or null to leave this unspecified.

Exceptions

ArgumentOutOfRangeExceptionlatitude, or longitude, or uncertainty does not have a valid value.

See Also