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
d4a56680
Commit
d4a56680
authored
Jun 08, 2017
by
7c00
Committed by
GitHub
Jun 08, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create README.md
parent
18b2faa4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
README.md
README.md
+3
-2
No files found.
README.md
View file @
d4a56680
...
@@ -23,14 +23,14 @@ $ npm i https://github.com/qiuxiang/react-native-amap3d/tarball/develop --save
...
@@ -23,14 +23,14 @@ $ npm i https://github.com/qiuxiang/react-native-amap3d/tarball/develop --save
```
```
### 项目配置
### 项目配置
这里
推荐使用
`react-native link`
推荐使用
`react-native link`
```
```
$ react-native link react-native-amap3d
$ react-native link react-native-amap3d
```
```
### 添加高德 Key
### 添加高德 Key
#### Android
#### Android
获取高德 Key:http://lbs.amap.com/api/android-sdk/guide/create-project/get-key
[
获取高德 Key
](
http://lbs.amap.com/api/android-sdk/guide/create-project/get-key
)
。
编辑 Android 项目的
`AndroidManifest.xml`
(一般在
`android\app\src\main\AndroidManifest.xml`
),
编辑 Android 项目的
`AndroidManifest.xml`
(一般在
`android\app\src\main\AndroidManifest.xml`
),
添加如下代码:
添加如下代码:
...
@@ -56,6 +56,7 @@ $ react-native link react-native-amap3d
...
@@ -56,6 +56,7 @@ $ react-native link react-native-amap3d
## 用法
## 用法
更多示例请参考
[
示例项目
](
https://github.com/qiuxiang/react-native-amap3d/tree/develop/example
)
。
### 导入地图模块
### 导入地图模块
```
jsx
```
jsx
...
...
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