CustomCalloutView.h 650 B

12345678910111213141516171819202122232425262728
  1. //
  2. // CustomCalloutView.h
  3. // amap_location
  4. //
  5. // Created by i2edu on 2020/4/23.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import <MAMapKit/MAMapKit.h>
  9. #import <Flutter/Flutter.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @interface CustomCalloutView : UIView
  12. @property (nonatomic, copy) NSString *title; //商户名
  13. @property (nonatomic, copy) NSString *subtitle; //地址
  14. @property (nonatomic, copy) NSString *phoneNumber; //电话
  15. @end
  16. @interface CustomAnnotationView : MAAnnotationView
  17. @property (nonatomic, strong, readwrite) CustomCalloutView *calloutView;
  18. @property (nonatomic, strong, readwrite) FlutterMethodChannel* channel;
  19. @end
  20. NS_ASSUME_NONNULL_END