AMapPolylineController.h 746 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // AMapPolylineController.h
  3. // amap_flutter_map
  4. //
  5. // Created by lly on 2020/11/6.
  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. @interface AMapPolylineController : NSObject
  13. - (instancetype)init:(FlutterMethodChannel*)methodChannel
  14. mapView:(MAMapView*)mapView
  15. registrar:(NSObject<FlutterPluginRegistrar>*)registrar;
  16. - (nullable AMapPolyline *)polylineForId:(NSString *)polylineId;
  17. - (void)addPolylines:(NSArray*)polylinesToAdd;
  18. - (void)changePolylines:(NSArray*)polylinesToChange;
  19. - (void)removePolylineIds:(NSArray*)polylineIdsToRemove;
  20. - (BOOL)onPolylineTap:(NSString*)polylineId;
  21. @end
  22. NS_ASSUME_NONNULL_END