{"action":"opened","issue":{"url":"https://api.github.com/repos/mapillary/mapillary-js/issues/216","repository_url":"https://api.github.com/repos/mapillary/mapillary-js","labels_url":"https://api.github.com/repos/mapillary/mapillary-js/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/mapillary/mapillary-js/issues/216/comments","events_url":"https://api.github.com/repos/mapillary/mapillary-js/issues/216/events","html_url":"https://github.com/mapillary/mapillary-js/issues/216","id":187002551,"number":216,"title":"Use polylabel for tag component polygon labels","user":{"login":"oscarlorentzon","id":2492302,"avatar_url":"https://avatars.githubusercontent.com/u/2492302?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarlorentzon","html_url":"https://github.com/oscarlorentzon","followers_url":"https://api.github.com/users/oscarlorentzon/followers","following_url":"https://api.github.com/users/oscarlorentzon/following{/other_user}","gists_url":"https://api.github.com/users/oscarlorentzon/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarlorentzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarlorentzon/subscriptions","organizations_url":"https://api.github.com/users/oscarlorentzon/orgs","repos_url":"https://api.github.com/users/oscarlorentzon/repos","events_url":"https://api.github.com/users/oscarlorentzon/events{/privacy}","received_events_url":"https://api.github.com/users/oscarlorentzon/received_events","type":"User","site_admin":false},"labels":[{"id":420082944,"url":"https://api.github.com/repos/mapillary/mapillary-js/labels/affects-component-tag","name":"affects-component-tag","color":"ecd2c0","default":false},{"id":281668483,"url":"https://api.github.com/repos/mapillary/mapillary-js/labels/feature","name":"feature","color":"36AF6D","default":false}],"state":"open","locked":false,"assignee":{"login":"oscarlorentzon","id":2492302,"avatar_url":"https://avatars.githubusercontent.com/u/2492302?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarlorentzon","html_url":"https://github.com/oscarlorentzon","followers_url":"https://api.github.com/users/oscarlorentzon/followers","following_url":"https://api.github.com/users/oscarlorentzon/following{/other_user}","gists_url":"https://api.github.com/users/oscarlorentzon/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarlorentzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarlorentzon/subscriptions","organizations_url":"https://api.github.com/users/oscarlorentzon/orgs","repos_url":"https://api.github.com/users/oscarlorentzon/repos","events_url":"https://api.github.com/users/oscarlorentzon/events{/privacy}","received_events_url":"https://api.github.com/users/oscarlorentzon/received_events","type":"User","site_admin":false},"assignees":[{"login":"oscarlorentzon","id":2492302,"avatar_url":"https://avatars.githubusercontent.com/u/2492302?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarlorentzon","html_url":"https://github.com/oscarlorentzon","followers_url":"https://api.github.com/users/oscarlorentzon/followers","following_url":"https://api.github.com/users/oscarlorentzon/following{/other_user}","gists_url":"https://api.github.com/users/oscarlorentzon/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarlorentzon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarlorentzon/subscriptions","organizations_url":"https://api.github.com/users/oscarlorentzon/orgs","repos_url":"https://api.github.com/users/oscarlorentzon/repos","events_url":"https://api.github.com/users/oscarlorentzon/events{/privacy}","received_events_url":"https://api.github.com/users/oscarlorentzon/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-11-03T08:44:39Z","updated_at":"2016-11-03T08:44:39Z","closed_at":null,"body":"Currently it is only possible to set the vertex index for labels on both polygons and rectangles. For polygons it makes much more sense to put the label or icon in a representative point inside the polygon than at a vertex.\r\n\r\nThis can be implemented with the help of https://github.com/mapbox/polylabel.\r\n\r\n- [ ] Add support for configuring the outline tag with a representative point label / icon.\r\n- [ ] Use `polylabel` to determine the point.\r\n- [ ] Render the label / icon at the representative point."}}
{"actor":{"display_login":"oscarlorentzon"}}