Skip to content

Convenience methods for ParseGeoPoint #288

@jaysonng

Description

@jaysonng

New Feature / Enhancement Checklist

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

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions