mkreversegeocoder

How to search MKMapView with UISearchBar ?

I have an application that needs to have a similar search feature like the Apple "Maps" application (included with iPhone/iPod Touch). The feature in question should not be a hard thing to do, but I'm really clueless about how to input a Street Address in the search bar, and then obtaining coordinates for that address or something that ...

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 get the abbreviation instead of the full state name...I have been able to find nothing that ...

iPhone Development: Use of MKReverseGeocoder

Does anyone know if MKReverseGeocoder can be used in commercial apps/paid apps? The Google Maps Terms of Service are not very clear on that (to me). http://code.google.com/apis/maps/iphone/terms.html ...

cllocation and mkreversegeocoder

Hi all, i'm try to retreiving city name with cllocation and mkreversegeocoder. in my viewdidload method i istance cllocationmanager: self.locManager = [[CLLocationManager alloc] init]; locManager.delegate = self; locManager.desiredAccuracy = kCLLocationAccuracyBest; [locManager startUpdatingLocation]; and after: - (void) locationMana...

mkreversegeocoder and timer

i've read that with using mkreversegeocoder i can do a query every 60 seconds. my istance of mkreversegeogoder start after cllocation retrieve some info. What's the best way to do a 60 seconds query? a timer? or play with timestamp of my olddate? or some other stuff? thank's ...

iPhone: Turning latitude/longitude into "major cross-streets"

Using the MKReverseGeocoder or GoogleAPI or MapKit... Is there a simple way to turn a latitude/longitude into "nearest major cross-streets"? A user might not have any idea where "12345 Pineapple" is located... so I want to show something like "Pineapple and Main"... or (larger, major roads) like "US-140 and Hwy 76". I don't really ca...

using performSelector

Hi all, i've my method that implement a reverseGeocoder - (void)reversing { geoCoder=[[MKReverseGeocoder alloc] initWithCoordinate:locManager.location.coordinate]; geoCoder.delegate=self; [geoCoder start]; } i recall reversing in another method with this: [self performSelector:@selector(reversing) withObject:nil afterDelay:10];...

OCmock and MKReverseGeocoder

Hi, I would like to test a method that uses reverse Geocoding. What i would like to do is : set the geocoder as a property of my controller create the geocoder in the init method call the geocoder in the method i want to test replace the geocoder with a mock in my test The problem is that the MKReverseGeocoder coordinate property is...

MKReverseGeocoder server returned error: 503

Hi all, Currently i am developing an iPhone application where i have to show user's current city and location for which i am using Mapkit Framework.When i build the application it works fine and show me the exact city details .But right now when i try to build the application again application shows following error message in my log /...

ReverseGeoCoder Fail Error in Mapkit

Hi All, 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: 503" With the ReverseGeoCoder fail message as "Error Domain=PBRequesterErrorD...

Reverse geocode using MKReverseGeocoder

Google Terms says I can only use reverse geocoding in conjunction with a google map. Is it ok if you first see the address in a uitableviewcell and then on a click see the location in a map (is this "in conjunction") ? Tried two other free services but they don't find all locations as it seems. Edit I see in an answer that I need to c...

Why is didFindPlacemark never hit?

I am struggling with getting my MKReverseGeocoder to actually finish. This is what I do: // reverse geocode the user location geocoder = [[[MKReverseGeocoder alloc] initWithCoordinate:mapView.userLocation.location.coordinate] autorelease]; geocoder.delegate = self; [geocoder start]; The userLocation coordinate IS valid, I know that. I...

Using CLLOcationManager and MKReverseGeocoder to get the name of the 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: ".objc_class_name_CLLocationManager", referenced from: literal-pointer@__OBJC@__cls_refs@CLLocationMa...

IPhone - MKReverseGeocoder - how to make sure I have the result back

Hi, what i'm trying to reach is to display annotation with the city name. So I have a class MapPoint : @interface MapPoint : NSObject<MKAnnotation,MKReverseGeocoderDelegate> { NSString* title; NSString* cityName; CLLocationCoordinate2D coordinate; MKReverseGeocoder* reverseGeo; } @property (nonatomic,readonly) CLLocat...

iphone create placemark from latitude and longitude

Hi there I want to place "pins" on my map. I've got the one for the user's location. Now I'm downloading a feed of locations from the internet. For each one I receive a latitude and longitude. I want to place these all on the map. I know I have to use a reverse geocoder, but I'm not entirely sure how to do this. Plus I read somewhere ...

MKReverseGeocoder causing EXC_BAD_ACCESS?

I have an app that is exhibiting an intermittent crash. The crash logs are showing a stack trace that is tough for me to decipher, so hoping that someone else has seen this and can point me in the right direction. Basically the app does a reverse geocoding request at startup to show the user's location in a label. Additionally, I do a...

The operation couldn’t be completed. (MKErrorDomain error 4)

I am using the MKReverseGeocoder but I keep getting reverseGeocoder:didFailWithError: "The operation couldn’t be completed. (MKErrorDomain error 4.)". I am passing the geocoder the coordinates of the MKUserLocation annotation. What does this error mean & how can I avoid it? ...

MKErrorDomain error 4 iPhone

I keep getting this randomly when I run my gps app I'm building. It doesn't happen everytime, and the coordinates passed in are always valid (i nslog them). Is there documentation for these somewhere? EDIT: CLLocationCoordinate2D coord = CLLocationCoordinate2DMake(locManager.location.coordinate.latitude, locManager.location.coordinate....