GT2/GT2-iOS/node_modules/react-native-maps/lib/ios/AirGoogleMaps/AIRGoogleMapCircleManager.m

34 lines
716 B
Mathematica
Raw Normal View History

2018-02-12 17:26:06 +00:00
//
// AIRGoogleMapCircleManager.m
//
// Created by Nick Italiano on 10/24/16.
//
#import "AIRGoogleMapCircleManager.h"
#import "AIRGoogleMapCircle.h"
#import <React/RCTBridge.h>
#import <React/UIView+React.h>
@interface AIRGoogleMapCircleManager()
@end
@implementation AIRGoogleMapCircleManager
RCT_EXPORT_MODULE()
- (UIView *)view
{
AIRGoogleMapCircle *circle = [AIRGoogleMapCircle new];
return circle;
}
RCT_EXPORT_VIEW_PROPERTY(radius, double)
RCT_REMAP_VIEW_PROPERTY(center, centerCoordinate, CLLocationCoordinate2D)
RCT_EXPORT_VIEW_PROPERTY(strokeColor, UIColor)
RCT_EXPORT_VIEW_PROPERTY(strokeWidth, double)
RCT_EXPORT_VIEW_PROPERTY(fillColor, UIColor)
RCT_EXPORT_VIEW_PROPERTY(zIndex, int)
@end