Open surethink opened 1 year ago
在mapview加了两个marker,安卓手机在点击按钮返回上一页时,crash。报错:the specified child already has a parent. You must call removeView() on the child's parent first
查到一个非常类似的react-native-maps的issue: https://github.com/react-native-maps/react-native-maps/issues/2787
里面提到的解决方案是不用<Marker而是使用,但我这么做后报错,意思是MapView.Marker没有export
麻烦看下这个问题,或者允许使用
谢谢
在mapview加了两个marker,安卓手机在点击按钮返回上一页时,crash。报错:the specified child already has a parent. You must call removeView() on the child's parent first
查到一个非常类似的react-native-maps的issue: https://github.com/react-native-maps/react-native-maps/issues/2787
里面提到的解决方案是不用<Marker而是使用,但我这么做后报错,意思是MapView.Marker没有export
麻烦看下这个问题,或者允许使用
谢谢