GeoCoordinate Constructor

Initializes a new GeoCoordinate instance.

Definition

Namespace: FolkerKinzel.VCards.Models
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
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