MBMapkit
/Users/dongkui/ios_api/branches/1.0.x/code/config/MBMapDemo/MBMapkit/MBMapkit/MBReverseGeocoder.h
00001 //
00002 //  MBReverseGeocoder.h
00003 //  MBMapKit
00004 //
00005 //  Copyright 2011 Mapbar Inc. All rights reserved.
00006 //
00007 
00008 #import <Foundation/Foundation.h>
00009 #import <CoreLocation/CoreLocation.h>
00010 
00011 @class MBPlacemark;
00012 @class MBReverseGeocoderInternal;
00013 @protocol MBReverseGeocoderDelegate;
00020 @interface MBReverseGeocoder : NSObject{
00021     MBReverseGeocoderInternal *_internal;
00022 }
00023 
00030 - (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate;
00031 
00038 - (void)start;
00039 
00047 - (void)cancel;
00048 
00057 @property (nonatomic, assign) id<MBReverseGeocoderDelegate> delegate;
00058 
00063 @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
00064 
00070 @property (nonatomic, readonly) MBPlacemark *placemark;
00071 
00078 @property (nonatomic, readonly, getter=isQuerying) BOOL querying;
00079 
00080 @end
00081 
00089 @protocol MBReverseGeocoderDelegate <NSObject>
00090 @required
00091 
00100 - (void)reverseGeocoder:(MBReverseGeocoder *)geocoder didFindPlacemark:(MBPlacemark *)placemark;
00101 
00108 - (void)reverseGeocoder:(MBReverseGeocoder *)geocoder didFailWithError:(NSError *)error;
00109 
00110 @end
 全部  函数 变量 属性