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=PBRequesterErrorDomain Code=6001 "Operation could not be completed. (PBRequesterErrorDomain error 6001.)"
This is my piece of code :
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
[super viewDidLoad];
NSLog(@"Geocoordinates : %f, %f", geoCoord.latitude, geoCoord.longitude);
MKReverseGeocoder *geocoder=[[MKReverseGeocoder alloc] initWithCoordinate:geoCoord];
geocoder.delegate=self;
[geocoder start];
}
#pragma mark -
#pragma mark Geocoder Delegate Methods
- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFailWithError:(NSError *)error{
NSLog(@"ReverseGeoCoder did fail : %@", [error description]);
}
- (void)reverseGeocoder:(MKReverseGeocoder *)geocoder didFindPlacemark:(MKPlacemark *)placemark{
NSLog(@"Geocoder completed = %@", [placemark addressDictionary]);
}
Output:
========
Geocoordinates : 40.725135, -74.002087
/SourceCache/ProtocolBuffer/ProtocolBuffer-19/Runtime/PBRequester.m:446 server returned error: 503
2010-06-15 11:08:29.819 Hotlist[2253:207] ReverseGeoCoder did fail : Error Domain=PBRequesterErrorDomain Code=6001 "Operation could not be completed. (PBRequesterErrorDomain error 6001.)"
What is this error due to ??
Any ideas ??
Thanks