Commit 51199952 authored by Qiu Xiang's avatar Qiu Xiang

添加简单 ios 接口

parent f8bc31c0
......@@ -13,4 +13,18 @@ RCT_EXPORT_MODULE()
return [[MAMapView alloc] init];
}
RCT_EXPORT_VIEW_PROPERTY(showsCompass, BOOL)
RCT_EXPORT_VIEW_PROPERTY(showsScale, BOOL)
RCT_EXPORT_VIEW_PROPERTY(showsIndoorMap, BOOL)
// RCT_EXPORT_VIEW_PROPERTY(showsLabels, BOOL)
// RCT_EXPORT_VIEW_PROPERTY(showsBuildings, BOOL)
// RCT_EXPORT_VIEW_PROPERTY(showsTraffic, BOOL)
RCT_EXPORT_VIEW_PROPERTY(zoomLevel, CGFloat)
RCT_EXPORT_VIEW_PROPERTY(maxZoomLevel, CGFloat)
RCT_EXPORT_VIEW_PROPERTY(minZoomLevel, CGFloat)
// RCT_EXPORT_VIEW_PROPERTY(zoomEnabled, BOOL)
// RCT_EXPORT_VIEW_PROPERTY(scrollEnabled, BOOL)
// RCT_EXPORT_VIEW_PROPERTY(rotateEnabled, BOOL)
// RCT_EXPORT_VIEW_PROPERTY(tiltEnabled, BOOL)
@end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment