moveCamera and call methods cannot execute Because this.mounted is false in invoke method of component
Created by: captainwanghq
map-view.tsx
add super.componentDidMount()
componentDidMount() { // 无论如何也要在 1 秒后 setLoaded(true) ,防止 onLoad 事件不触发的情况下显示不正常 // 目前只在 iOS 上低概率出现 super.componentDidMount() setTimeout(() => this.setState({ loaded: true }), 1000); }