title: Why is Polygon's geoJSON geometry unreadable?
body: <p>I want to ask if you want to make GeoJSON geometry in react-leaflet in reactJS that is Polygon but no results come out, if you use only 2 points, such as <code>element[&quot;geometry&quot;][&quot;x&quot;]</code>, and <code>element[&quot;geometry&quot;][&quot; y&quot;],</code> but if the Polygon is like this it is also almost like an example Point;</p>
  <pre><code>element[&quot;geometry&quot;][&quot;x&quot;],
  element[&quot;geometry&quot;][&quot;y&quot;],
  element[&quot;geometry&quot;][&quot;x&quot;],
  element[&quot;geometry&quot;][&quot;y&quot;],
  </code></pre>
  <p>Do I need to add more parts of my coding so that Polygons can be read on maps?
  <a href="https://i.stack.imgur.com/7iQCZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7iQCZ.png" alt="enter image description here" /></a></p>
  <p>And I read the link from<a href="https://datatracker.ietf.org/doc/html/rfc7946#section-3.1.6" rel="nofollow noreferrer">Link1</a> and <a href="https://geojson.org/geojson-spec.html" rel="nofollow noreferrer">Link2</a></p>