title: How to read this local json file, and get the coordinates rendering on map with Markers on Adroid?
body: <p>My problem is to read the local json file and fetch the coordinates, here is some code to import the file:</p>
  <p><code>const data = require('./3ª Légua-Oriental-Nossa Senhora das Graças.json');</code></p>
  <p>And I need to fecht it to this parameters coordinate markers by id search, and show it to my map:</p>
  <pre><code>{data.map(
    (coordinates, index, title) =&gt; (
      &lt;MapView.Marker
        key={`coordinate_${index}`}
        title={'Ponto'}
        coordinate={{
          latitude: coordinates.latitude,
          longitude: coordinates.longitude,
        }}&gt;
      &lt;/MapView.Marker&gt;
    )
  )}
  </code></pre>
  <p>here is the json.file code for example:</p>
  <pre class="lang-json prettyprint-override"><code>[
      {
          &quot;id&quot;: &quot;1&quot;,
          &quot;latitude&quot;: &quot;-29.271225&quot;,
          &quot;longitude&quot;: &quot;-51.1895903&quot;,
          &quot;horario de inicio&quot;: &quot;05:55:00&quot;
      },
      {
          &quot;id&quot;: &quot;2&quot;,
          &quot;latitude&quot;: &quot;-29.2511256&quot;,
          &quot;longitude&quot;: &quot;-51.1932803&quot;,
          &quot;horario de inicio&quot;: &quot;&quot;
      },
      {
          &quot;id&quot;: &quot;3&quot;,
          &quot;latitude&quot;: &quot;-29.2434067&quot;,
          &quot;longitude&quot;: &quot;-51.1985995&quot;,
          &quot;horario de inicio&quot;: &quot;&quot;
      },
      {
          &quot;id&quot;: &quot;4&quot;,
          &quot;latitude&quot;: &quot;-29.2358186&quot;,
          &quot;longitude&quot;: &quot;-51.1889452&quot;,
          &quot;horario de inicio&quot;: &quot;&quot;
      },
      {
          &quot;id&quot;: &quot;5&quot;,
          &quot;latitude&quot;: &quot;-29.2315023&quot;,
          &quot;longitude&quot;: &quot;-51.1893468&quot;,
          &quot;horario de inicio&quot;: &quot;&quot;
      }
  ]
  </code></pre>
  <p><a href="https://i.stack.imgur.com/adJFl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/adJFl.png" alt="enter image description here" /></a></p>