@@ -318,7 +318,7 @@ export function buildCustomRNComponent(ctx: ComponentBuilderContext) {
318
318
+ })
319
319
+ }
320
320
+ if (ctx.componentName === BAIDU_MAP_OVERLAY_MARKER_TYPE) {
321
- + BaiduMapOverlayMarkerS ({
321
+ + BaiduMapOverlayMarker ({
322
322
+ ctx: ctx.rnComponentContext,
323
323
+ tag: ctx.tag
324
324
+ })
@@ -452,7 +452,7 @@ ohpm install
452
452
453
453
| Name | Description | Type | Required | Platform | HarmonyOS Support |
454
454
| -------------------------| ----------------------------------| ----------| ----------| ----------| -------------------|
455
- | zoomControlsVisible | 显示或隐藏缩放控件,仅 Android | Boolean | no | Android | yes |
455
+ | zoomControlsVisible | 显示或隐藏缩放控件 | Boolean | no | Android | yes |
456
456
| trafficEnabled | 是否启用交通图层 | Boolean | no | All | yes |
457
457
| baiduHeatMapEnabled | 是否启用百度热力图 | Boolean | no | All | no |
458
458
| zoomGesturesEnabled | 允许手势缩放 | Boolean | no | All | yes |
@@ -462,9 +462,9 @@ ohpm install
462
462
| showsUserLocation | 是否显示定位 | Boolean | no | All | yes |
463
463
| locationData | 定位信息 {latitude: 0, longitude: 0} | Object | no | All | yes |
464
464
| center | {latitude: 0, longitude: 0} | Object | no | All | yes |
465
- | onMapStatusChangeStart | 地图状态开始变化时的回调函数,仅 Android | Function | no | Android | no |
465
+ | onMapStatusChangeStart | 地图状态开始变化时的回调函数 | Function | no | Android | no |
466
466
| onMapStatusChange | 地图状态变化时的回调函数 | Function | no | All | no |
467
- | onMapStatusChangeFinish | 地图状态变化完成时的回调函数,仅 Android | Function | no | Android | no |
467
+ | onMapStatusChangeFinish | 地图状态变化完成时的回调函数 | Function | no | Android | no |
468
468
| onMapLoaded | 地图加载完成时的回调函数 | Function | no | All | yes |
469
469
| onMapClick | 地图被点击时的回调函数 | Function | no | All | yes |
470
470
| onMapDoubleClick | 地图被双击时的回调函数 | Function | no | All | yes |
@@ -476,15 +476,15 @@ ohpm install
476
476
| Name | Description | Type | Required | Platform | HarmonyOS Support |
477
477
| --------------| ------------------------------------------| ----------| ----------| ----------| -------------------|
478
478
| 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 |
480
480
| 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 |
484
484
| 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 |
488
488
| onClick | 当标记被点击时触发的回调函数 | Function | no | All | yes |
489
489
490
490
#### Cluster 点聚合
@@ -495,7 +495,7 @@ ohpm install
495
495
| --------| ----------------| ---------| ----------| ----------| -------------------|
496
496
| stroke | 当标记被点击时触发的回调函数 | Object | yes | All | no |
497
497
| points | 数值长度必须为 | Object | yes | All | no |
498
- | dash | 是否为虚线,仅 iOS | Boolean | yes | iOS | no |
498
+ | dash | 是否为虚线 | Boolean | yes | iOS | no |
499
499
500
500
#### Circle Props 属性
501
501
@@ -511,7 +511,7 @@ ohpm install
511
511
| Name | Description | Type | Required | Platform | HarmonyOS Support |
512
512
| --------| -------------| --------| ----------| ----------| -------------------|
513
513
| points | 折线的顶点坐标数组 | Object | yes | All | yes |
514
- | stroke | 折线的描边样式 | Object | yes | All | yes |
514
+ | stroke | 折线的描边样式 | Object | yes | All | no |
515
515
516
516
#### Polygon Props 属性
517
517
@@ -540,7 +540,7 @@ ohpm install
540
540
541
541
| Name | Description | Type | Required | Platform | HarmonyOS Support |
542
542
| ---------| --------------------------------| --------| ----------| ----------| -------------------|
543
- | offsetY | 相对于 point 在 y 轴的偏移量,仅 Android | Object | yes | Android | no |
543
+ | offsetY | 相对于 point 在 y 轴的偏移量 | Object | yes | Android | no |
544
544
545
545
#### HeatMap Props 属性
546
546
@@ -598,6 +598,7 @@ ohpm install
598
598
- [ ] marker的title、pincolor属性未实现 [ #21 ] ( https://github.com/react-native-oh-library/react-native-baidu-map/issues/21 )
599
599
- [ ] Geolocation 静态类功能未实现 [ #22 ] ( https://github.com/react-native-oh-library/react-native-baidu-map/issues/22 )
600
600
- [ ] 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 )
601
602
602
603
603
604
## 其他
0 commit comments