proxpero/Geodesy

"Neighbors" doesn't work for CLLLocationCoordinate2D

Opened this issue · 1 comments

When I use Geodesy as shown below:
<
let CurrentGeoHash = self.currentLocation.geohash(precision: 4)
let CurrentNeighbors = self.currentLocation.neighbors(precision: 4)
print("Geohash: ", CurrentGeoHash, " Geohash Neighbors: ", CurrentNeighbors)

I get "Value of type CLLLocationCoordinate2D has no member 'neighbors.'

I did update the extension locally and added the 'neighbors' functions to the CLLLocationCoordinate2D extension.

It successfully builds, but the returned neighbor array appears to be incorrect (see issue #12)