title: **React Native Maps** - How do I zoom on Marker pressed?
body: <p>For my internship, I have to create an app with a Maps view and markers called from an API (the standard GraphQL API). But I have to make the map Zoom on the marker when I click on it, and I don't understand how I can do that.<br />
  I looked for the documentation and I didn't understand it :
  <code>animateCamera(camera: Camera, {duration: number})</code>
  But what is a camera object ? I don't have one. And how can I call animateCamera ? With a ref (_mapRef.current.animateCamera) ?</p>
  <p>Here is my code :</p>
  <pre class="lang-js prettyprint-override"><code>&lt;MapView
    style={styles.map}
    mapType={viewType}
    provider='google'
    ref={_map}
  &gt;
    {users !== undefined &amp;&amp; users.map((item, index) =&gt; (
      &lt;Marker
        key={'user_' + index}
        title={item.username}
        description={item.posts.data.length + ' posts'}
        coordinate={{
          latitude: item.address.geo.lat,
          longitude: item.address.geo.lng
        }}
        onCalloutPress={() =&gt; {
          navigation.navigate('SingleUser', {user: item})
        }}
      /&gt;
    ))}
  &lt;/MapView&gt;
  </code></pre>
  <p>Thanks for the help</p>
  <p>PS: This is my first question on Stack, please don't be rude and do not hesitate to tell me if I missed a rule ! :)</p>
  <p>PPS: Why does Stack delete my 'Hello' I put at the beginning everytime I edit this post ?</p>