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

MapView添加onRegionChangeComplete事件 #11

Closed
willian-feng opened this issue Sep 13, 2024 · 0 comments · Fixed by #12
Closed

MapView添加onRegionChangeComplete事件 #11

willian-feng opened this issue Sep 13, 2024 · 0 comments · Fixed by #12

Comments

@willian-feng
Copy link

Feature Request

MapView添加onRegionChangeComplete事件

Why it is needed

onRegionChangeComplete事件, 需要其返回对应的信息进行操作计算

Possible implementation

地图拖动结束触发onRegionChangeComplete事件,返回region信息

Code sample

<MapView
  onRegionChangeComplete={(region, details) => {
    console.log('onRegionChangeComplete region = ', region.nativeEvent);
  }}
>
</MapView>
xbh0902 added a commit that referenced this issue Sep 18, 2024
feat: [issues: #11]MapView添加onRegionChangeComplete事件
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

Successfully merging a pull request may close this issue.

1 participant