1 // 2 // AIRGoogleMapPolygon.h 3 // 4 // Created by Nick Italiano on 10/22/16. 5 // 6 7 #ifdef HAVE_GOOGLE_MAPS 8 9 #import <GoogleMaps/GoogleMaps.h> 10 #import <React/RCTBridge.h> 11 #import "AIRGMSPolygon.h" 12 #import "AIRMapCoordinate.h" 13 14 @interface AIRGoogleMapPolygon : UIView 15 16 @property (nonatomic, weak) RCTBridge *bridge; 17 @property (nonatomic, strong) NSString *identifier; 18 @property (nonatomic, strong) AIRGMSPolygon *polygon; 19 @property (nonatomic, strong) NSArray<AIRMapCoordinate *> *coordinates; 20 @property (nonatomic, strong) NSArray<NSArray<AIRMapCoordinate *> *> *holes; 21 @property (nonatomic, copy) RCTBubblingEventBlock onPress; 22 23 @property (nonatomic, strong) UIColor *fillColor; 24 @property (nonatomic, assign) double strokeWidth; 25 @property (nonatomic, strong) UIColor *strokeColor; 26 @property (nonatomic, assign) BOOL geodesic; 27 @property (nonatomic, assign) int zIndex; 28 @property (nonatomic, assign) BOOL tappable; 29 30 @end 31 32 #endif 33