• Main Page
  • Related Pages
  • Classes
  • Files
  • File List
  • File Members

BMReverseGeocoder.h

00001 //
00002 //  BMReverseGeocoder.h
00003 //  BingMaps
00004 //
00005 //  Copyright (c) 2011 Microsoft Corporation. All rights reserved.
00006 //
00007 
00008 #import <UIKit/UIKit.h>
00009 #import <CoreLocation/CoreLocation.h>
00010 #import <BingMaps/BMTypes.h>
00011 
00012 @class BMReverseGeocoderInternal;
00013 @class BMEntity;
00014 @protocol BMReverseGeocoderDelegate;
00015 
00016 @interface BMReverseGeocoder : NSObject {
00017 @private
00018     BMReverseGeocoderInternal*  _internal;
00019 }
00020 
00021 - (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate;
00022 
00023 - (void)start;
00024 - (void)cancel;
00025 
00026 @property (nonatomic, assign) id<BMReverseGeocoderDelegate> delegate;
00027 
00028 @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;      // the exact coordinate being reverse geocoded.
00029 
00030 @property (nonatomic, readonly) BMEntity *entity;
00031 
00032 @property (nonatomic, readonly, getter=isQuerying) BOOL querying;
00033 
00034 @end
00035 
00043 @protocol BMReverseGeocoderDelegate <NSObject>
00044 @required
00052 - (void)reverseGeocoder:(BMReverseGeocoder *)geocoder didFindEntity:(BMEntity *)entity;
00062 - (void)reverseGeocoder:(BMReverseGeocoder *)geocoder didFailWithError:(NSError *)error;
00063 @end

Generated on Tue May 3 2011 11:57:16 for Bing Maps iOS Control by  doxygen 1.7.2