Animate Camera Google
<MapView
ref={(map) => { this.map = map; }}
initialRegion={this.state.region}
/>
chiemeziem nwauwa
<MapView
ref={(map) => { this.map = map; }}
initialRegion={this.state.region}
/>
<MapView
ref={(current) => map.current = current}
onLayout={() => {
map.current.animateCamera({
pitch: 90
})
}}
/>
const map = useRef(null)