Making polygons editable using leaflet-draw
<p>How can I make polygons loaded on a map from a  database editable?</p>

<p>As of now, when the polygons get loaded they remain un-editable. The edit option only gets enabled when I create a new polygon. </p>

<blockquote>
  <p>Polygons loaded from the database are marked blue and the newly
  created  polygon is marked red. (The edit icons are screwed up!)</p>
</blockquote>

<p><a href="https://i.stack.imgur.com/MNkwx.png" rel="nofollow"><img src="https://i.stack.imgur.com/MNkwx.png" alt="enter image description here"></a></p>