title: React-Native-Maps: How to animate to coordinate?
body: <p>I am using the following code with no success:</p>
  
  <p>//Inside of NativeBase Container</p>
  
  <pre><code>        &lt;MapView.Animated
             ref="map"
             style = {styles.map}
             showsUserLocation = {true}
             zoomEnabled = {true}
             showsMyLocationButton = {true}
             showsCompass = {true}
             showScale = {true}
             showsIndoors = {true}
             mapType = {this.state.mapTypes[this.state.mapTypeCode]}
          /&gt;
  </code></pre>
  
  <p>//Inside of componentDidMount of the class </p>
  
  <pre><code>navigator.geolocation.getCurrentPosition(
    (position) =&gt; {
      var initialPosition = JSON.stringify(position.coords);
      this.setState({position: initialPosition});
  
      let tempCoords = {
        latitude: Number(position.coords.latitude),
        longitude: Number(position.coords.longitude)
      }
  
      this.refs.map.animateToCoordinate(tempCoords, 1);
  
    }, function (error) { alert(error) },
  
  );
  </code></pre>
  
  <p>But an error occurs saying there is no such function animateToCoordinate.</p>