AMapPolygonController.h 710 B

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // AMapPolygonController.h
  3. // amap_flutter_map
  4. //
  5. // Created by lly on 2020/11/12.
  6. //
  7. #import <Foundation/Foundation.h>
  8. #import <Flutter/Flutter.h>
  9. #import <MAMapKit/MAMapKit.h>
  10. NS_ASSUME_NONNULL_BEGIN
  11. @class AMapPolyline;
  12. @class AMapPolygon;
  13. @interface AMapPolygonController : NSObject
  14. - (instancetype)init:(FlutterMethodChannel*)methodChannel
  15. mapView:(MAMapView*)mapView
  16. registrar:(NSObject<FlutterPluginRegistrar>*)registrar;
  17. - (nullable AMapPolygon *)polygonForId:(NSString *)polygonId;
  18. - (void)addPolygons:(NSArray*)polygonsToAdd;
  19. - (void)changePolygons:(NSArray*)polygonsToChange;
  20. - (void)removePolygonIds:(NSArray*)polygonIdsToRemove;
  21. @end
  22. NS_ASSUME_NONNULL_END