Skip to content

Commit 11a9f4a

Browse files
小肉头君林志鹏
小肉头君
authored and
林志鹏
committed
!1204 docs: [Issues: #IAFLSZ] 修改react-native-baidu-map指导文档
* docs: [Issues: #IAFLSZ] 修改react-native-baidu-map指导文档
1 parent efaf31b commit 11a9f4a

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

zh-cn/react-native-baidu-map.md

+15-14
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export function buildCustomRNComponent(ctx: ComponentBuilderContext) {
318318
+ })
319319
+ }
320320
+ if (ctx.componentName === BAIDU_MAP_OVERLAY_MARKER_TYPE) {
321-
+ BaiduMapOverlayMarkerS({
321+
+ BaiduMapOverlayMarker({
322322
+ ctx: ctx.rnComponentContext,
323323
+ tag: ctx.tag
324324
+ })
@@ -452,7 +452,7 @@ ohpm install
452452

453453
| Name | Description | Type | Required | Platform | HarmonyOS Support |
454454
|-------------------------|----------------------------------|----------|----------|----------|-------------------|
455-
| zoomControlsVisible | 显示或隐藏缩放控件,仅 Android | Boolean | no | Android | yes |
455+
| zoomControlsVisible | 显示或隐藏缩放控件 | Boolean | no | Android | yes |
456456
| trafficEnabled | 是否启用交通图层 | Boolean | no | All | yes |
457457
| baiduHeatMapEnabled | 是否启用百度热力图 | Boolean | no | All | no |
458458
| zoomGesturesEnabled | 允许手势缩放 | Boolean | no | All | yes |
@@ -462,9 +462,9 @@ ohpm install
462462
| showsUserLocation | 是否显示定位 | Boolean | no | All | yes |
463463
| locationData | 定位信息 {latitude: 0, longitude: 0} | Object | no | All | yes |
464464
| center | {latitude: 0, longitude: 0} | Object | no | All | yes |
465-
| onMapStatusChangeStart | 地图状态开始变化时的回调函数,仅 Android | Function | no | Android | no |
465+
| onMapStatusChangeStart | 地图状态开始变化时的回调函数 | Function | no | Android | no |
466466
| onMapStatusChange | 地图状态变化时的回调函数 | Function | no | All | no |
467-
| onMapStatusChangeFinish | 地图状态变化完成时的回调函数,仅 Android | Function | no | Android | no |
467+
| onMapStatusChangeFinish | 地图状态变化完成时的回调函数 | Function | no | Android | no |
468468
| onMapLoaded | 地图加载完成时的回调函数 | Function | no | All | yes |
469469
| onMapClick | 地图被点击时的回调函数 | Function | no | All | yes |
470470
| onMapDoubleClick | 地图被双击时的回调函数 | Function | no | All | yes |
@@ -476,15 +476,15 @@ ohpm install
476476
| Name | Description | Type | Required | Platform | HarmonyOS Support |
477477
|--------------|------------------------------------------|----------|----------|----------|-------------------|
478478
| title | 如果没有 InfoWindow,将会根据 title 生成 InfoWindow | String | no | All | no |
479-
| titleOffsetY | title 作为 InfoWindow 展示的 y 轴偏移量,仅 Android | Number | no | Android | no |
479+
| titleOffsetY | title 作为 InfoWindow 展示的 y 轴偏移量 | Number | no | Android | no |
480480
| location | 标记的经纬度坐标位置 | Object | yes | All | yes |
481-
| perspective | 是否启用标记的透视效果,仅 Android | Boolean | no | Android | yes |
482-
| flat | 是否使标记扁平化,仅 Android | Boolean | no | Android | yes |
483-
| rotate | 旋转角度,仅 Android | Number | no | Android | yes |
481+
| perspective | 是否启用标记的透视效果 | Boolean | no | Android | yes |
482+
| flat | 是否使标记扁平化 | Boolean | no | Android | yes |
483+
| rotate | 旋转角度 | Number | no | Android | yes |
484484
| icon | icon图片,同 的 source 属性 | Object | no | All | yes |
485-
| alpha | 透明度,仅 Android | Number | no | Android | yes |
486-
| animateType | 动画效果:drop/grow/jump (iOS 仅支持 drop) | String | no | All | yes |
487-
| pinColor | red/green/purple,大头针颜色,仅 iOS | String | no | IOS | no |
485+
| alpha | 透明度 | Number | no | Android | yes |
486+
| animateType | 动画效果:drop/grow/jump | String | no | All | yes |
487+
| pinColor | red/green/purple,大头针颜色 | String | no | IOS | no |
488488
| onClick | 当标记被点击时触发的回调函数 | Function | no | All | yes |
489489

490490
#### Cluster 点聚合
@@ -495,7 +495,7 @@ ohpm install
495495
|--------|----------------|---------|----------|----------|-------------------|
496496
| stroke | 当标记被点击时触发的回调函数 | Object | yes | All | no |
497497
| points | 数值长度必须为 | Object | yes | All | no |
498-
| dash | 是否为虚线,仅 iOS | Boolean | yes | iOS | no |
498+
| dash | 是否为虚线 | Boolean | yes | iOS | no |
499499

500500
#### Circle Props 属性
501501

@@ -511,7 +511,7 @@ ohpm install
511511
| Name | Description | Type | Required | Platform | HarmonyOS Support |
512512
|--------|-------------|--------|----------|----------|-------------------|
513513
| points | 折线的顶点坐标数组 | Object | yes | All | yes |
514-
| stroke | 折线的描边样式 | Object | yes | All | yes |
514+
| stroke | 折线的描边样式 | Object | yes | All | no |
515515

516516
#### Polygon Props 属性
517517

@@ -540,7 +540,7 @@ ohpm install
540540

541541
| Name | Description | Type | Required | Platform | HarmonyOS Support |
542542
|---------|--------------------------------|--------|----------|----------|-------------------|
543-
| offsetY | 相对于 point 在 y 轴的偏移量,仅 Android | Object | yes | Android | no |
543+
| offsetY | 相对于 point 在 y 轴的偏移量 | Object | yes | Android | no |
544544

545545
#### HeatMap Props 属性
546546

@@ -598,6 +598,7 @@ ohpm install
598598
- [ ] marker的title、pincolor属性未实现 [#21](https://github.com/react-native-oh-library/react-native-baidu-map/issues/21)
599599
- [ ] Geolocation 静态类功能未实现 [#22](https://github.com/react-native-oh-library/react-native-baidu-map/issues/22)
600600
- [ ] GetDistance静态类功能未实现 [#23](https://github.com/react-native-oh-library/react-native-baidu-map/issues/23)
601+
- [ ] Polyline的stroke属性未实现 [#21](https://github.com/react-native-oh-library/react-native-baidu-map/issues/29)
601602

602603

603604
## 其他

0 commit comments

Comments
 (0)