cllocationdistance Questions

4

Solved

I am using the NSLengthFormatter class to format the distance between the user and some destination. CLLocation *userLocation; //<- Coordinates fetched from CLLocationManager CLLocation *target...
Overseas asked 20/6, 2015 at 7:41

10

Solved

I want to make it so that it will show the amount of distance between two CLLocation coordinates. Is there someway to do this without a complex math formula? If there isn't how would you do it with...
Middlemost asked 23/10, 2015 at 14:4

2

Solved

MapKit's built in function MKCoordinateRegionMakeWithDistance takes distances in meters and turns them into a MKCoordinateRegion: func MKCoordinateRegionMakeWithDistance( _ centerCoordinate: CLLo...

3

Solved

In the question posted here, the user asked: I have an array full of longitudes and latitudes. I have two double variables with my users location. I'd like to test the distance between my user's l...
Blowtube asked 25/11, 2015 at 22:18

2

Solved

Can somebody please help me convert the following Objective-C statement to Swift? CLLocationDistance distance = [fromLocation distanceFromLocation:toLocation]; I know that it must be simple to d...
Derogatory asked 12/8, 2014 at 18:11

2

Solved

In objective C (I have no experience with it) you can initialize a CLLocation object with latitude and longitude likes this: CLLocation *myLocation = [[CLLocation alloc] initWithLatitude:your_lati...

2

Solved

I have an array full of longitudes and latitudes. I have two double variables with my users location. I'd like to test the distance between my user's locations against my array to see which locatio...
Subordinary asked 16/7, 2014 at 14:29

7

I'm looking for an open source app or library to track user location in the background. Now I'm trying to do it with CLLocation and background tasks, but accuracy is not enough for my case. Could y...
Housewife asked 4/7, 2013 at 8:51

4

Solved

Prior to iOS 4.0, CoreLocation was reporting altitude correctly, now it always reports as 0 ft. -(void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation*)newLocation fro...
Hooknosed asked 2/2, 2011 at 3:20
1

© 2022 - 2024 — McMap. All rights reserved.