Commit f6bd0e81 authored by 7c00's avatar 7c00

v0.4.0

parent 1ce12718
...@@ -20,6 +20,7 @@ react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS。 ...@@ -20,6 +20,7 @@ react-native 高德地图组件,使用最新 3D SDK,支持 Android + iOS。
- 折线绘制(Polyline) - 折线绘制(Polyline)
- 多边形绘制(Polygon) - 多边形绘制(Polygon)
- 圆形绘制(Circle) - 圆形绘制(Circle)
- 热力图(HeatMap)
- 导航(驾车、步行、骑行)(还不够完善) - 导航(驾车、步行、骑行)(还不够完善)
![](https://user-images.githubusercontent.com/1709072/27509246-28ee8a0a-592b-11e7-9148-ed24c86ede82.jpg) ![](https://user-images.githubusercontent.com/1709072/27509248-29000d20-592b-11e7-90ef-3f56c4300625.jpg) ![](https://user-images.githubusercontent.com/1709072/27509247-28feba88-592b-11e7-90ec-3e3680cee241.jpg) ![](https://user-images.githubusercontent.com/1709072/27509249-2902531e-592b-11e7-801d-5fef6a87cead.jpg) ![](https://user-images.githubusercontent.com/1709072/27509250-2906e64a-592b-11e7-8cc5-1ce84090ce66.jpg) ![](https://user-images.githubusercontent.com/1709072/27509251-29084d5a-592b-11e7-84af-f49dbcea9873.jpg) ![](https://user-images.githubusercontent.com/1709072/27509252-291d5876-592b-11e7-8849-15360c2e16c2.jpg) ![](https://user-images.githubusercontent.com/1709072/27509253-2933ef5a-592b-11e7-88b4-10f67fa03706.jpg) ![](https://user-images.githubusercontent.com/1709072/27509246-28ee8a0a-592b-11e7-9148-ed24c86ede82.jpg) ![](https://user-images.githubusercontent.com/1709072/27509248-29000d20-592b-11e7-90ef-3f56c4300625.jpg) ![](https://user-images.githubusercontent.com/1709072/27509247-28feba88-592b-11e7-90ec-3e3680cee241.jpg) ![](https://user-images.githubusercontent.com/1709072/27509249-2902531e-592b-11e7-801d-5fef6a87cead.jpg) ![](https://user-images.githubusercontent.com/1709072/27509250-2906e64a-592b-11e7-8cc5-1ce84090ce66.jpg) ![](https://user-images.githubusercontent.com/1709072/27509251-29084d5a-592b-11e7-84af-f49dbcea9873.jpg) ![](https://user-images.githubusercontent.com/1709072/27509252-291d5876-592b-11e7-8849-15360c2e16c2.jpg) ![](https://user-images.githubusercontent.com/1709072/27509253-2933ef5a-592b-11e7-88b4-10f67fa03706.jpg)
...@@ -154,14 +155,15 @@ import MapView from 'react-native-amap3d' ...@@ -154,14 +155,15 @@ import MapView from 'react-native-amap3d'
## 接口 ## 接口
请参考注释文档: 请参考注释文档:
- [MapView](https://github.com/qiuxiang/react-native-amap3d/blob/master/components/maps/MapView.js#L14) - [MapView](https://github.com/qiuxiang/react-native-amap3d/tree/v0.4.0/components/maps/MapView.js#L14)
- [Marker](https://github.com/qiuxiang/react-native-amap3d/blob/master/components/maps/Marker.js#L6) - [Marker](https://github.com/qiuxiang/react-native-amap3d/tree/v0.4.0/components/maps/Marker.js#L6)
- [Polyline](https://github.com/qiuxiang/react-native-amap3d/blob/master/components/maps/Polyline.js#L5) - [Polyline](https://github.com/qiuxiang/react-native-amap3d/tree/v0.4.0/components/maps/Polyline.js#L5)
- [Polygon](https://github.com/qiuxiang/react-native-amap3d/blob/master/components/maps/Polygon.js#L5) - [Polygon](https://github.com/qiuxiang/react-native-amap3d/tree/v0.4.0/components/maps/Polygon.js#L5)
- [Circle](https://github.com/qiuxiang/react-native-amap3d/blob/master/components/maps/Circle.js#L5) - [Circle](https://github.com/qiuxiang/react-native-amap3d/tree/v0.4.0/components/maps/Circle.js#L5)
- [HeatMap](https://github.com/qiuxiang/react-native-amap3d/tree/v0.4.0/components/maps/HeatMap.js)
## 注意 ## 常见问题
- 由于 RN 经常改接口,该项目只能保证在最新 RN 下测试通过 - 由于 RN 经常改接口,该项目只能保证在最新 RN 下测试通过
- 由于 3D 地图渲染需要硬件加速,部分 Android 模拟器会因为缺少硬件加速而导致运行崩溃 - 由于 3D 地图渲染需要硬件加速,部分 Android 模拟器会因为缺少硬件加速而导致运行崩溃
...@@ -32,7 +32,7 @@ export default class MapView extends BaseComponent { ...@@ -32,7 +32,7 @@ export default class MapView extends BaseComponent {
locationEnabled: PropTypes.bool, locationEnabled: PropTypes.bool,
/** /**
* 定位间隔(ms),默认 2000,小于 1000 将只进行单次定位 * 定位间隔(ms),默认 2000
* *
* @platform android * @platform android
*/ */
......
{ {
"name": "react-native-amap3d", "name": "react-native-amap3d",
"version": "0.3.3", "version": "0.4.0",
"description": "react-native 高德地图组件", "description": "react-native 高德地图组件",
"author": "Qiu Xiang <i@7c00.cc>", "author": "Qiu Xiang <i@7c00.cc>",
"license": "MIT", "license": "MIT",
......
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