react-native-maps - 你可以关闭一个事件吗?

问题描述 投票:0回答:1

在 MapView 事件中,例如 onRegionChange,有没有办法消除它——也就是说,让它不执行?

react-native events react-native-maps
1个回答
0
投票

尝试在mapView上添加pointerEvents =“none”道具这可能会帮助你。

© www.soinside.com 2019 - 2024. All rights reserved.