cllocation Questions

1

Solved

I'm creating an app that uses CoreData to store points of interest. MKMapItem coordinates are accessible within mapItem.placemark.location. I'd like to pull out the individual latitude and longitud...
Symer asked 13/3, 2015 at 14:31

5

Solved

Does anyone know any knowledge of using this: - (void) startMonitoringForRegion:(CLRegion *)region desiredAccuracy:(CLLocationAccuracy)accuracy I am trying to implement it into my project but: - (v...
Silverts asked 30/1, 2011 at 20:11

2

Basically half the time the delegate method - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray *)locations; is not called at all. But the other half of the time it ...
Theta asked 28/9, 2014 at 4:35

4

how to get current location latitude and longitude. I have try this. Using Xcode 6.01 and IOS SDK 8.0 -(CLLocationCoordinate2D) getLocation{ locationManager = [[CLLocationManager alloc] init]; ...

1

Solved

using Firebase as my backend, I've got a series of strings that are latitude and longitude coordinates, how can I convert them to CLLocationCoordinate2D so that I can use them for annotations? Her...

2

Solved

I'm trying to calculate a bearing between two CLLocation points in swift-only code. I've run into some difficulty and was assuming this is a pretty simple function. Stack overflow didn't seem...
Rainier asked 18/11, 2014 at 15:34

1

Solved

I have a method I want to call however when I get back the center of the map, it is in CLLocationCoordinate2D type. How do I put the results of CLLocationCoordinate2D into CLLocation?
Spectrogram asked 11/11, 2014 at 18:22

3

Solved

When I try to use map in iOS 8, I get below error. Trying to start MapKit location updates without prompting for location authorization. Must call -[CLLocationManager requestWhenInUseAuthorization...
Drier asked 14/10, 2014 at 8:56

6

Solved

I am making one app on iphone sdk4.0.In that did update location method never called. I have given my code below.Please help.Thanks in advance. -(id)init { [super init]; obj=[[UIApplication sha...
Forsterite asked 21/3, 2011 at 5:40

0

My app loads the user's past polylines and displays them on the map. Then the app starts tracking and a straight line is drawn from the last updated coordinate to the first, thereby connecting the ...
Switchman asked 15/9, 2014 at 23:8

1

With a CLLocation object (content e.g. latitude = 48.196169, longitude = 11.620237), I try to get the current city and country like: if(!geocoder) { geocoder = [[CLGeocoder alloc] init]; } if (g...
Discobolus asked 19/3, 2014 at 16:42

1

How can I convert CLLocation or CLLocationCoordinate2D to CGPoint. I have seen CGPoint point = [mapView convertCoordinate:myCoordinates toPointToView:self.view]; But I don't need to use mapView...
Amund asked 21/6, 2013 at 11:44

1

I need to keep track of the user location all the time (but not drain the battery). I understand the only way to get updates after app is terminated is using startMonitoringSignificantLocationChang...
Kumquat asked 11/6, 2012 at 9:42

3

Solved

I'm attempting to build an application that builds and saves routes similar to map my run. I'm using the Breadcrumb sample code, specifically the CrumbPath and CrumbPathView as the base of my route...
Domash asked 14/1, 2013 at 22:44

1

I've got an app with location services ENABLED (from settings etc), and I'm reading all the photos from my device using ALAssetsLibrary. It works perfectly on iPhone4 iOS 4.2.1, but the same code ...
Chicago asked 19/2, 2011 at 10:51

2

Solved

My predicate keeps on crashing my app with the message Unsupported function expression FUNCTION(SELF, "filterDistanceWithLatitude:" , latitude, longitude). Does anyone know how to fix this? - (voi...
Estis asked 8/11, 2012 at 15:53

2

Solved

So I am dealing with some accuracy issues with iPhone GPS. I have an app which uses location. In the delegate method locationManager: didUpdateToLocation: fromLocation: I am being returned a locat...
En asked 8/1, 2011 at 20:22

4

Solved

I am trying to use the distanceFromLocation: method to calculate the total distance that I am walking with my iPhone in my hand. So far, I have been searching all over to help remedy my confusing, ...
Godliman asked 17/4, 2012 at 3:50

2

Solved

i don't understand this example from the doc : the timeIntervalSinceNow method should show a positive value, but how can we reach "5" as mentioned in the code? (i think it's either 0 more or less, ...
Achelous asked 3/4, 2012 at 1:56

2

Solved

I'm trying to build an iOS app that displays the total distance travelled when running or walking. I've read and re-read all the documentation I can find, but I'm having trouble coming up with some...

1

Solved

I've been working on a location based app recently and am noticing some strange values for CLLocation. I often get a horizontalAccuracy of 1414 and a verticalAccuracy of -1. Any clue what this indi...
Personalize asked 13/9, 2011 at 13:16

1

Solved

I was wondering how to convert latitude and longitude values of CLLocationCoordinate2D to numbers or string values. Iver tried a few different ways but they arene't working: CLLocationCoordinate2D...
Poinsettia asked 1/8, 2011 at 13:38

3

the following are listed in CLLocation.h but from my experience they are deceiving names- possibly originally thought up to serve two purposes, 1. to test the accuracy of the location returned, but...
Stockyard asked 5/8, 2010 at 3:53

1

This is my first time posting a question here, but I have found a lot of help from other people's questions. My question refers to the -distanceFromLocation: function in CLLocation. I had assumed ...
Planchet asked 5/4, 2011 at 21:37

2

Solved

For my application I want to calculate my car/bike speed using iphone. How can i do that? Ideally, it should run continuously in the background.
Nisen asked 29/9, 2010 at 5:16

© 2022 - 2024 — McMap. All rights reserved.