{"action":"created","issue":{"url":"https://api.github.com/repos/maptalks/maptalks.js/issues/630","repository_url":"https://api.github.com/repos/maptalks/maptalks.js","labels_url":"https://api.github.com/repos/maptalks/maptalks.js/issues/630/labels{/name}","comments_url":"https://api.github.com/repos/maptalks/maptalks.js/issues/630/comments","events_url":"https://api.github.com/repos/maptalks/maptalks.js/issues/630/events","html_url":"https://github.com/maptalks/maptalks.js/issues/630","id":303388166,"number":630,"title":"draw a  rectangle  and edit , the shape can change to polygon with the edge more than 4","user":{"login":"lifefriend","id":23650125,"avatar_url":"https://avatars1.githubusercontent.com/u/23650125?v=4","gravatar_id":"","url":"https://api.github.com/users/lifefriend","html_url":"https://github.com/lifefriend","followers_url":"https://api.github.com/users/lifefriend/followers","following_url":"https://api.github.com/users/lifefriend/following{/other_user}","gists_url":"https://api.github.com/users/lifefriend/gists{/gist_id}","starred_url":"https://api.github.com/users/lifefriend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifefriend/subscriptions","organizations_url":"https://api.github.com/users/lifefriend/orgs","repos_url":"https://api.github.com/users/lifefriend/repos","events_url":"https://api.github.com/users/lifefriend/events{/privacy}","received_events_url":"https://api.github.com/users/lifefriend/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-08T07:58:19Z","updated_at":"2018-03-19T12:09:35Z","closed_at":"2018-03-19T12:09:35Z","author_association":"NONE","body":"**maptalks's version and what browser you use?**\r\n\r\nmaptalks v0.39.1\r\n\r\n**Issue description**\r\n\r\nif draw a  rectangle  and edit  it , the shape can change to polygon with the edge more than 4\r\n\r\nbut if create  a  rectangle  with code(new maptalks.Rectangle) and edit ,the shape remains unchanged\r\n\r\nmybe the value  \"geometry instanceof Rectangle\" in  \"GeometryEditor.prototype.start\" is different\r\n\r\n**Please provide a reproduction URL (on any jsfiddle like site)**\r\n"},"comment":{"url":"https://api.github.com/repos/maptalks/maptalks.js/issues/comments/374190718","html_url":"https://github.com/maptalks/maptalks.js/issues/630#issuecomment-374190718","issue_url":"https://api.github.com/repos/maptalks/maptalks.js/issues/630","id":374190718,"user":{"login":"fuzhenn","id":13678919,"avatar_url":"https://avatars2.githubusercontent.com/u/13678919?v=4","gravatar_id":"","url":"https://api.github.com/users/fuzhenn","html_url":"https://github.com/fuzhenn","followers_url":"https://api.github.com/users/fuzhenn/followers","following_url":"https://api.github.com/users/fuzhenn/following{/other_user}","gists_url":"https://api.github.com/users/fuzhenn/gists{/gist_id}","starred_url":"https://api.github.com/users/fuzhenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fuzhenn/subscriptions","organizations_url":"https://api.github.com/users/fuzhenn/orgs","repos_url":"https://api.github.com/users/fuzhenn/repos","events_url":"https://api.github.com/users/fuzhenn/events{/privacy}","received_events_url":"https://api.github.com/users/fuzhenn/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T12:09:35Z","updated_at":"2018-03-19T12:09:35Z","author_association":"OWNER","body":"closing, will reopen if necessary"}}
{"actor":{"display_login":"fuzhenn"}}