Initializes a new instance of the GeoCoordinate class from latitude, longitude, altitude, horizontal accuracy, vertical accuracy, speed and course.
- latitude (Double)
- The latitude of the location. May range from -90.0 to 90.0.
- longitude (Double)
- The longitude of the location. May range from -180.0 to 180.0.
- horizontalAccuracy (Double)
- The accuracy of the latitude/longitude coordinates, in meters. Must be greater than or equal to 0. If a value of 0 is supplied to this constructor, the HorizontalAccuracy property will be set to NaN.
- verticalAccuracy (Double)
- The accuracy of the altitude, in meters. Must be greater than or equal to 0. If a value of 0 is supplied to this constructor, the VerticalAccuracy property will be set to NaN.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | latitude, longitude, horizontalAccuracy, verticalAccuracy or course is out of range. |