{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/163","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/163/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/163/events","html_url":"https://github.com/mapbox/mapbox-gl-draw/issues/163","id":124852737,"number":163,"title":"nodes of draw repeated","user":{"login":"rbonillajr","id":8268226,"avatar_url":"https://avatars.githubusercontent.com/u/8268226?v=3","gravatar_id":"","url":"https://api.github.com/users/rbonillajr","html_url":"https://github.com/rbonillajr","followers_url":"https://api.github.com/users/rbonillajr/followers","following_url":"https://api.github.com/users/rbonillajr/following{/other_user}","gists_url":"https://api.github.com/users/rbonillajr/gists{/gist_id}","starred_url":"https://api.github.com/users/rbonillajr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbonillajr/subscriptions","organizations_url":"https://api.github.com/users/rbonillajr/orgs","repos_url":"https://api.github.com/users/rbonillajr/repos","events_url":"https://api.github.com/users/rbonillajr/events{/privacy}","received_events_url":"https://api.github.com/users/rbonillajr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-04T22:22:21Z","updated_at":"2016-01-04T23:09:55Z","closed_at":null,"body":"the GeoJSON repeated one node (first and last)\r\n\r\nresult this draw is:\r\n\r\n[-81.4911206481233, 8.773606438078104],[-81.4911206481233, 8.273819023152939],[-80.3375561949983, 8.273819023152939],[-80.3375561949983, 8.773606438078104],[-81.4911206481233, 8.773606438078104]\r\n\r\n![image](https://cloud.githubusercontent.com/assets/8268226/12102227/67b14596-b307-11e5-915d-f90a46f37e1c.png)"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/comments/168840337","html_url":"https://github.com/mapbox/mapbox-gl-draw/issues/163#issuecomment-168840337","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/163","id":168840337,"user":{"login":"kelvinabrokwa","id":7795202,"avatar_url":"https://avatars.githubusercontent.com/u/7795202?v=3","gravatar_id":"","url":"https://api.github.com/users/kelvinabrokwa","html_url":"https://github.com/kelvinabrokwa","followers_url":"https://api.github.com/users/kelvinabrokwa/followers","following_url":"https://api.github.com/users/kelvinabrokwa/following{/other_user}","gists_url":"https://api.github.com/users/kelvinabrokwa/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvinabrokwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvinabrokwa/subscriptions","organizations_url":"https://api.github.com/users/kelvinabrokwa/orgs","repos_url":"https://api.github.com/users/kelvinabrokwa/repos","events_url":"https://api.github.com/users/kelvinabrokwa/events{/privacy}","received_events_url":"https://api.github.com/users/kelvinabrokwa/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T23:09:55Z","updated_at":"2016-01-04T23:09:55Z","body":"@rbonillajr from the GeoJSON spec:\r\n\r\n> For type \"Polygon\", the \"coordinates\" member must be an array of LinearRing coordinate arrays.\r\n\r\n> A LinearRing is closed LineString with 4 or more positions. The first and last positions are equivalent (they represent equivalent points).\r\n\r\nthe first and last coordinates in a GeoJSON polygon must be the same."}}