Skip to content

Comments

Make location and coordinate utmCoordinate() functions throwing.#16

Open
hishma wants to merge 1 commit intowtw-software:masterfrom
designedbyclowns:15-invalid-coordinate-fix
Open

Make location and coordinate utmCoordinate() functions throwing.#16
hishma wants to merge 1 commit intowtw-software:masterfrom
designedbyclowns:15-invalid-coordinate-fix

Conversation

@hishma
Copy link

@hishma hishma commented Jul 7, 2024

This PR addresses an issue (#15) where a fatal error occured when converting a CLLocation or a CLLocationCoordinate2D with an invalid longitude to a UTMCoordinate .

In changes the utmCoordiate(_:) functions of the CLLocation and CLLocationCoordinate2D extensions to be throwing.

If accepted, this patch would require a new major version as it is backward breaking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant