Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
react-native-amap3d
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
放牛的园子
react-native-amap3d
Commits
3a4f1e42
Commit
3a4f1e42
authored
Jun 02, 2018
by
7c00
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix #322
parent
ea90f1ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
AMapView.m
lib/ios/AMap3D/maps/AMapView.m
+4
-0
AMapViewManager.m
lib/ios/AMap3D/maps/AMapViewManager.m
+1
-1
package.json
package.json
+1
-1
No files found.
lib/ios/AMap3D/maps/AMapView.m
View file @
3a4f1e42
...
...
@@ -29,6 +29,10 @@
self
.
showsUserLocation
=
enabled
;
}
-
(
void
)
setShowCompass
:
(
BOOL
)
enabled
{
self
.
showsCompass
=
enabled
;
}
-
(
void
)
setCoordinate
:
(
CLLocationCoordinate2D
)
coordinate
{
self
.
centerCoordinate
=
coordinate
;
}
...
...
lib/ios/AMap3D/maps/AMapViewManager.m
View file @
3a4f1e42
...
...
@@ -22,7 +22,7 @@ RCT_EXPORT_MODULE()
}
RCT_EXPORT_VIEW_PROPERTY
(
locationEnabled
,
BOOL
)
RCT_
EXPORT_VIEW_PROPERTY
(
shows
Compass
,
BOOL
)
RCT_
REMAP_VIEW_PROPERTY
(
showsCompass
,
show
Compass
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
showsScale
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
showsIndoorMap
,
BOOL
)
RCT_EXPORT_VIEW_PROPERTY
(
showsLabels
,
BOOL
)
...
...
package.json
View file @
3a4f1e42
...
...
@@ -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"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment