Commit 3a4f1e42 authored by 7c00's avatar 7c00

Fix #322

parent ea90f1ef
......@@ -29,6 +29,10 @@
self.showsUserLocation = enabled;
}
- (void)setShowCompass:(BOOL)enabled {
self.showsCompass = enabled;
}
- (void)setCoordinate:(CLLocationCoordinate2D)coordinate {
self.centerCoordinate = coordinate;
}
......
......@@ -22,7 +22,7 @@ RCT_EXPORT_MODULE()
}
RCT_EXPORT_VIEW_PROPERTY(locationEnabled, BOOL)
RCT_EXPORT_VIEW_PROPERTY(showsCompass, BOOL)
RCT_REMAP_VIEW_PROPERTY(showsCompass, showCompass, BOOL)
RCT_EXPORT_VIEW_PROPERTY(showsScale, BOOL)
RCT_EXPORT_VIEW_PROPERTY(showsIndoorMap, BOOL)
RCT_EXPORT_VIEW_PROPERTY(showsLabels, BOOL)
......
......@@ -27,7 +27,7 @@
"run-android": "node node_modules/react-native/local-cli/cli.js run-android",
"release-android": "node node_modules/react-native/local-cli/cli.js run-android --variant=release",
"log-android": "node node_modules/react-native/local-cli/cli.js log-android",
"reload-android": "adb reverse tcp:8081 tcp:8081 && adb shell input text rr",
"reload": "adb reverse tcp:8081 tcp:8081 && adb shell input text rr",
"run-ios": "node node_modules/react-native/local-cli/cli.js run-ios"
},
"peerDependencies": {
......
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