Add Polygon programmatically in Leaflet L.Draw plugin

Viewed 10923

Is there a way to add a polygon programmatically using the Leaflet draw plugin? https://github.com/Leaflet/Leaflet.draw

For example: click a button and add a square that can be edited by the plugin.

1 Answers
Related