Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

点聚合首次不加载 #768

Closed
caopeng000 opened this issue Sep 17, 2022 · 1 comment
Closed

点聚合首次不加载 #768

caopeng000 opened this issue Sep 17, 2022 · 1 comment

Comments

@caopeng000
Copy link

版本:3.1.3
RN版本:0.65.1
设备:华为P30 Pro

点聚合demo,地图初始化经纬度并且zoom到14,首次打开地图不展示点聚合。需要再次滑动地图才展示出来。

<MapView ref={(ref) => (this.mapView = ref)} initialCameraPosition={{ target: { latitude: 40.14723426405317, longitude: 116.57691195504749 }, zoom: 14 }} myLocationEnabled={true} onCameraIdle={({ nativeEvent }) => { this.status = nativeEvent; this.cluster?.update(nativeEvent); }} onLongPress={() => this.setState({ markers: generateMarkers() })} >

视频如下:

20220917-174113.mp4
@caopeng000
Copy link
Author

数据加载完毕后,代码移动下地图,目前没问题了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant