JXLocationVC.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. //
  2. // JXLocationVC.h
  3. // CustomMKAnnotationView
  4. //
  5. // Created by Jian-Ye on 12-11-22.
  6. // Copyright (c) 2012年 Jian-Ye. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "admobViewController.h"
  10. #import <QuartzCore/QuartzCore.h>
  11. #import <BaiduMapAPI_Map/BMKMapComponent.h>//只引入所需的单个头文件
  12. #import <BaiduMapAPI_Base/BMKBaseComponent.h>
  13. #import <BaiduMapAPI_Location/BMKLocationComponent.h>//引入定位功能所有的头文件
  14. #import <BaiduMapAPI_Search/BMKSearchComponent.h>//引入检索功能所有的头文件
  15. #import <BaiduMapAPI_Utils/BMKUtilsComponent.h>//引入计算工具所有的头文件
  16. typedef NS_OPTIONS(NSUInteger, JXLocationType){
  17. JXLocationTypeCurrentLocation = 0,
  18. JXLocationTypeShowStaticLocation = 2,
  19. };
  20. @interface JXLocationVC : admobViewController<BMKMapViewDelegate,BMKLocationServiceDelegate,BMKLocationServiceDelegate,BMKGeoCodeSearchDelegate,UITableViewDelegate,UITableViewDataSource>{
  21. BMKMapView *_baiduMapView; //地图类
  22. BMKLocationService *_locService;
  23. BMKGeoCodeSearch *_geoCodeSearch; //搜索服务
  24. BMKReverseGeoCodeOption *_reverseGeoCodeOption; //反地理编码对象
  25. // BMKPointAnnotation *_annotation;
  26. // BMKPinAnnotationView * _pinAnnotationView;
  27. NSInteger _selIndex;
  28. NSMutableArray *_nearMarkArray; //周边检索数据源
  29. UITableView * _nearMarkTableView;
  30. }
  31. @property (nonatomic,assign) JXLocationType locationType;
  32. @property (nonatomic,assign) double latitude;
  33. @property (nonatomic,assign) double longitude;
  34. @property (nonatomic,copy) NSString * address;
  35. //@property (nonatomic,copy) NSString * imagePath;
  36. @property (nonatomic,copy) NSString * placeNames;
  37. @property (nonatomic,retain) NSMutableArray *locations;
  38. @property (nonatomic, assign) NSObject* delegate;
  39. @property (nonatomic, assign) SEL didSelect;
  40. @property (nonatomic, assign) BOOL isSend;
  41. @property (nonatomic, assign) BOOL isCircleCome;
  42. @property (nonatomic,retain) UIButton * sendButton;
  43. @end