/// <summary> /// /// </summary> /// <param name="lat"></param> /// <param name="lng"></param> /// <param name="unit"></param> public void SetCoordinate(double lat, double lng, Units.AngularUnit unit) { Latitude = new Latitude(lat, unit); Longitude = new Longitude(lng, unit); Latitude.Normalize(); Longitude.Normalize(); }
/// <summary> /// Set the coordinate value. /// </summary> /// <param name="lat">latitude</param> /// <param name="lng">longitude</param> public void SetCoordinate(Latitude lat, Longitude lng) { Latitude = lat; Longitude = lng; Latitude.Normalize(); Longitude.Normalize(); }