MapViewController.h 836 B

1234567891011121314151617181920212223242526
  1. //
  2. // MapViewController.h
  3. // BuguLive
  4. //
  5. // Created by GuoMs on 16/8/11.
  6. // Copyright © 2016年 xfg. All rights reserved.
  7. //
  8. #import <CoreLocation/CoreLocation.h>
  9. @protocol MapChooseAddressControllerDelegate <NSObject>
  10. @optional
  11. - (void)chooseAddress:(CLLocationCoordinate2D)location address:(NSString *)address andProvinceString:(NSString *)provinceString andCityString:(NSString *)cityString andAreaString:(NSString *)areaString;
  12. @end
  13. @interface MapViewController : BGBaseViewController
  14. @property (nonatomic, weak) id<MapChooseAddressControllerDelegate>delegate;
  15. @property (nonatomic, assign) CLLocationCoordinate2D location; //经纬度
  16. @property (nonatomic, retain) NSString *addressName; //地址名称
  17. @property (nonatomic, assign) NSInteger fromType; //0:普通地址选择 1:收货地址地图位置选择
  18. @end