{"action":"created","issue":{"url":"https://api.github.com/repos/codeofsumit/leaflet.pm/issues/239","repository_url":"https://api.github.com/repos/codeofsumit/leaflet.pm","labels_url":"https://api.github.com/repos/codeofsumit/leaflet.pm/issues/239/labels{/name}","comments_url":"https://api.github.com/repos/codeofsumit/leaflet.pm/issues/239/comments","events_url":"https://api.github.com/repos/codeofsumit/leaflet.pm/issues/239/events","html_url":"https://github.com/codeofsumit/leaflet.pm/issues/239","id":263933384,"number":239,"title":"New feature: prevent polygon self-intersection while editing","user":{"login":"ashmigelski","id":4904519,"avatar_url":"https://avatars2.githubusercontent.com/u/4904519?v=4","gravatar_id":"","url":"https://api.github.com/users/ashmigelski","html_url":"https://github.com/ashmigelski","followers_url":"https://api.github.com/users/ashmigelski/followers","following_url":"https://api.github.com/users/ashmigelski/following{/other_user}","gists_url":"https://api.github.com/users/ashmigelski/gists{/gist_id}","starred_url":"https://api.github.com/users/ashmigelski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashmigelski/subscriptions","organizations_url":"https://api.github.com/users/ashmigelski/orgs","repos_url":"https://api.github.com/users/ashmigelski/repos","events_url":"https://api.github.com/users/ashmigelski/events{/privacy}","received_events_url":"https://api.github.com/users/ashmigelski/received_events","type":"User","site_admin":false},"labels":[{"id":286627002,"url":"https://api.github.com/repos/codeofsumit/leaflet.pm/labels/feature%20request","name":"feature request","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2017-10-09T15:20:54Z","updated_at":"2017-10-11T08:28:40Z","closed_at":null,"author_association":"NONE","body":"Hey\r\n\r\nIn our project we deal with simple polygons (shape consisting of straight, non-intersecting line segments)\r\nand using Leaflet.Draw mostly because of `allowIntersection` feature.\r\nYou can see it in action on examples page https://leaflet.github.io/Leaflet.draw/docs/examples/full.html\r\n1. Create a poly\r\n2. Toggle edit mode\r\n3. Drag a vertex to cross any segment - vertex will be deleted \r\n\r\nI want to migrate to leaflet.pm but without same feature it's absolutely impossible. Is there any chance to add such functionality or any workaround how to implement it using events?\r\n\r\nThanks for answer and amazing job!\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/codeofsumit/leaflet.pm/issues/comments/335732233","html_url":"https://github.com/codeofsumit/leaflet.pm/issues/239#issuecomment-335732233","issue_url":"https://api.github.com/repos/codeofsumit/leaflet.pm/issues/239","id":335732233,"user":{"login":"codeofsumit","id":2399810,"avatar_url":"https://avatars3.githubusercontent.com/u/2399810?v=4","gravatar_id":"","url":"https://api.github.com/users/codeofsumit","html_url":"https://github.com/codeofsumit","followers_url":"https://api.github.com/users/codeofsumit/followers","following_url":"https://api.github.com/users/codeofsumit/following{/other_user}","gists_url":"https://api.github.com/users/codeofsumit/gists{/gist_id}","starred_url":"https://api.github.com/users/codeofsumit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeofsumit/subscriptions","organizations_url":"https://api.github.com/users/codeofsumit/orgs","repos_url":"https://api.github.com/users/codeofsumit/repos","events_url":"https://api.github.com/users/codeofsumit/events{/privacy}","received_events_url":"https://api.github.com/users/codeofsumit/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T08:28:39Z","updated_at":"2017-10-11T08:28:39Z","author_association":"OWNER","body":"@ashmigelski I committed everything. Would be great if you could test #241 and let me know how it goes."}}
{"actor":{"display_login":"codeofsumit"}}