title: Value for latitude cannot be cast from String to Double in react-native
body: <p>i have json</p>
  <pre><code>{
    &quot;status&quot;: 200,
    &quot;error&quot;: false,
    &quot;driver&quot;: [
      {
        &quot;id&quot;: &quot;7&quot;,
        &quot;name&quot;: &quot;Kevin&quot;,
        &quot;lat&quot;: &quot;-6.2616031&quot;,
        &quot;lon&quot;: &quot;106.8424822&quot;
      },
      {
        &quot;id&quot;: &quot;9&quot;,
        &quot;name&quot;: &quot;jhon&quot;,
        &quot;lat&quot;: &quot;-6.20032449&quot;,
        &quot;lon&quot;: &quot;106.6372306&quot;
      },
  }
  </code></pre>
  <p>here I am capturing or retrieving json data and displaying it on maps
  when i show i get an error problem which
  is:</p>
  <blockquote>
  <p>Value for latitude cannot be cast from String to Double in
  react-native</p>
  </blockquote>
  <p>where is the error ?
  this is my code</p>
  <pre><code> componentDidMount() {
      fetch('https://example.com/myjson')
        .then(res =&gt; res.json())
        .then(data =&gt; {
          this.setState({ data: data.driver })
        })
        .catch(console.error)
     }
  
  mapMarkers = () =&gt; {
          return this.state.data.map((driver) =&gt; &lt;MapView.Marker
            key={driver.id}
            coordinate={{ &quot;latitude&quot;: driver.lat, &quot;longitude&quot;: driver.lon }}
            title={driver.name}
            description={driver.division}
          /&gt;)
        }
  
  render() {
        return (
          &lt;View style={styles.container}&gt;
            &lt;View style={{ flex: 2 }}&gt;
              
              &lt;MapView
              style={{ flex: 1, width: window.width }} //window pake Dimensions
              Region={{
                  latitude: 106.8424822,
                  longitude: -6.2616031,
                  latitudeDelta: 70,
                  longitudeDelta: 45
                }} &gt;
              {this.mapMarkers()}
              &lt;/MapView&gt;
            &lt;/View&gt;
          &lt;/View&gt;
        );
      }
  </code></pre>