Swift-Walk-Tracker icon indicating copy to clipboard operation
Swift-Walk-Tracker copied to clipboard

max longitude

Open kylederkacz opened this issue 9 years ago • 1 comments

I was following your example method to get the map region in MapViewController and noticed a minor issue. I haven't tried to run this code, but figured I'd point it out for posterity:

https://github.com/kevinvanderlugt/Swift-Walk-Tracker/blob/master/walktracker/MapViewController.swift#L147

I believe that location.coordinate.latitude > maxLongitude should be location.coordinate.longitude > maxLongitude

kylederkacz avatar Sep 05 '15 04:09 kylederkacz

Howdy, Thanks so much for looking at my project and taking the time to write up this issue. You are correct in finding this issue. I will try to get it fixed up shortly since I want to move to swift 2.0 soon as well.

Cheers! :beers:

kevinvanderlugt avatar Sep 07 '15 15:09 kevinvanderlugt