We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A fatal error occurs when converting a CLLocation or a CLLocationCoordinate2D with an invalid longitude to a UTMCoordinate .
CLLocation
CLLocationCoordinate2D
UTMCoordinate
For example:
let coordinate = CLLocationCoordinate2D(latitude: 90, longitude: -180.1) let utm = coordinate.utmCoordinate()
CLFatal error: Double value cannot be converted to UInt because the result would be less than UInt.min
This is due in part to the unfortunate fact that you can actually create an invalid CLLocationCoordinate2D.
And error is not raised when using an invalid latitude by the way.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A fatal error occurs when converting a
CLLocation
or aCLLocationCoordinate2D
with an invalid longitude to aUTMCoordinate
.For example:
This is due in part to the unfortunate fact that you can actually create an invalid CLLocationCoordinate2D.
And error is not raised when using an invalid latitude by the way.
The text was updated successfully, but these errors were encountered: