-
-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Description
New Feature / Enhancement Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
Current Limitation
There's no "easy" way to get latitude and longitude out of a ParseGeoPoint to convert them to CLLocation and CLLocation2D without have repetitive code.
Feature / Enhancement Description
Adding toCLLocation and toCLLocationCoordinate2D methods.
Example Use Case
let clLocation = point.toCLLocation()
let coordinate2D = point.toCLLocationCoordinate2D()
Alternatives / Workarounds
Currently, you would have to create CLLocation or CLLocationCoordinate2D by pulling out the latitude and longitude from the geopoint and initialize CLLocation with the said latitude and longitude.
3rd Party References
no.
Metadata
Metadata
Assignees
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature