Questions tagged [mkreversegeocoder]

The MKReverseGeocoder class provides services for converting a map coordinate (specified as a latitude/longitude pair) into information about that coordinate, such as the country, city, or street. A reverse geocoder object is a single-shot object that works with a network-based map service to look up placemark information for its specified coordinate value.

83 questions
2
votes
1 answer

Location on iPhone, subThoroughfare is null

I'm developing an app that saves the street of the user's current location. I already have the location, and I´m using geocoder to get the street and the number: - (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlacemark:(MKPlacemark…
Yotes
  • 378
  • 3
  • 16
2
votes
2 answers

MKReverseGeocoder not returning SubAdministrativeArea

I use MKReverseGeocoder in my app to get the state (AdministrativeArea) and county (SubAdministrativeArea) that my user is located in. I've just noticed that there is no value (null) being returned for SubAdministrativeArea. State is working…
Jason
  • 86,222
  • 15
  • 131
  • 146
2
votes
1 answer

Is it possible to get a list of places near a Lat/Long using MapKit?

I'm trying to build a simple location search that returns a list of places near the user. So for example, using current location, or a given Latitude and Longitude I want to list out all place names, businesses, towns, etc. within a certain radius.…
Arel
  • 3,888
  • 6
  • 37
  • 91
2
votes
1 answer

Use CLLocationManager and MKReverseGeocoder to get name of city

I am trying to get the name of the city of user's current location by using MKReverseGeoCoder but it has some errors which I cannot recognize. Here are the details: It has some errors which I cannot recognize Undefined symbols: …
Ashutosh
  • 5,614
  • 13
  • 52
  • 84
2
votes
1 answer

ReverseGeoCoder Fail Error in Mapkit

I am making the ReverseGeoCoder request with the following latitude and longitude Latitude = 37.296740 Longitude = -122.001878 I am getting an error as "/SourceCache/ProtocolBuffer/ProtocolBuffer-19/Runtime/PBRequester.m:446 server returned error:…
Biranchi
  • 16,120
  • 23
  • 124
  • 161
2
votes
2 answers

iPhone -- MKReverseGeocoder.adminstrativeArea -- getting state abbreviation

In the documentation for MKReverseGeocoder, the administrativeArea property gives you the current state the user is in, and it mentions in an example that it returns EITHER the state name OR its abbreviation. I am wondering if anyone knows how to…
RayJ
  • 87
  • 1
  • 7
2
votes
1 answer

Altitude Disappears from MKPlacemark

So I have some code that gets the user's location from the phone as a CLLocation, then I do a reverse geocode on it. The problem is that the resulting MKPlacemark has 0 for altitude, despite the fact that the CLLocation had a value in the altitude…
Rob
  • 11,446
  • 7
  • 39
  • 57
2
votes
2 answers

iOS and Maps: How to intercept a touch gesture, get the coordinates and retrieve the country name

I am developing a game in which the user has to select a country on a world map. I was thus wondering: what's the best approach to show an interactive map? I found this framework/component on the Web http://mousebird.github.com/WhirlyGlobe/ but I…
pAkY88
  • 6,262
  • 11
  • 46
  • 58
1
vote
1 answer

MonoTouch: RequestReverseGeocode Crashing

I have a simple class which does reverse geocoding, but it causes the app to crash (SIGSEGV), sometimes (50%) but not consistently. I have tried running it in the UI thread, and in background threads and at different parts of the ViewController's…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
1
vote
1 answer

MKReverseGeocoder returns cities that are not a city?

Hi i am using mkreversegeocoder to find the users current city.It works but when i try it in another location it gives the names of borough/district in my country (Turkey).For example it gives "istanbul" correct but there is no city name like…
john doe
  • 177
  • 1
  • 4
  • 13
1
vote
2 answers

Problem with MKReverseGeocoder

For some reason, I cannot get the name of the city (locality) from my code. Please help! - (void)viewDidLoad { [super viewDidLoad]; self.lm = [[CLLocationManager alloc] init]; lm.delegate = self; lm.desiredAccuracy…
Prajoth
  • 900
  • 3
  • 12
  • 26
1
vote
1 answer

Getting Location Address from latitude and longitude

I am developing an application in which I have to show the address that of the given latitude and longitude. I have latitude and longitude but I dont know how to get my address from that latitude and longitude. Any suggestion will be highly…
Gypsa
  • 11,230
  • 6
  • 44
  • 82
1
vote
1 answer

MKReverseGeocoder inside of NSThread

I have object that implements MKReverseGeocoder. I'm running it inside of separate thread and it is delegate of itself. However its 'didFailWithError' and 'didFindPlacemark' methods are not being called. If i get it outside of thread, than…
Misha
  • 5,260
  • 6
  • 35
  • 63
1
vote
2 answers

Display location around current location?

In my map i need to display the locations which i am getting from a xml which are currently in a 200 mile radius from my current location. I have never done this thing before can you please suggest a way. Thanks,
Ashutosh
  • 5,614
  • 13
  • 52
  • 84
1
vote
1 answer

CLLocationManager, MKReverseGeocoder, cleaning up memory

In the More iPhone 3 development book, after the author is done with the locationManager delegate method of getting updates, he puts this at the end of that method: - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation…
Crystal
  • 28,460
  • 62
  • 219
  • 393