https://github.com/codeofsumit/leaflet.pm/blob/09f9a903a20c1a137b89c8c8a6567dad353fd383/src/js/Draw/L.PM.Draw.Polygon.js#L25