{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1840","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1840/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1840/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1840/events","html_url":"https://github.com/mapbox/mapbox-gl-native/pull/1840","id":93393910,"number":1840,"title":"[WIP] Updates to labels along lines","user":{"login":"nickidlugash","id":5607844,"avatar_url":"https://avatars.githubusercontent.com/u/5607844?v=3","gravatar_id":"","url":"https://api.github.com/users/nickidlugash","html_url":"https://github.com/nickidlugash","followers_url":"https://api.github.com/users/nickidlugash/followers","following_url":"https://api.github.com/users/nickidlugash/following{/other_user}","gists_url":"https://api.github.com/users/nickidlugash/gists{/gist_id}","starred_url":"https://api.github.com/users/nickidlugash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickidlugash/subscriptions","organizations_url":"https://api.github.com/users/nickidlugash/orgs","repos_url":"https://api.github.com/users/nickidlugash/repos","events_url":"https://api.github.com/users/nickidlugash/events{/privacy}","received_events_url":"https://api.github.com/users/nickidlugash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-06T22:42:16Z","updated_at":"2015-07-06T22:47:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/pulls/1840","html_url":"https://github.com/mapbox/mapbox-gl-native/pull/1840","diff_url":"https://github.com/mapbox/mapbox-gl-native/pull/1840.diff","patch_url":"https://github.com/mapbox/mapbox-gl-native/pull/1840.patch"},"body":"Port of https://github.com/mapbox/mapbox-gl-js/pull/1283.\r\n\r\n- Removes anchors that are too close to another anchor with the same text\r\n- Takes into account icon size for calculating label length\r\n- Recalculates spacing for long labels\r\n- Adjusts offsets to first anchors if line is continued from outside the tile boundary"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/119019989","html_url":"https://github.com/mapbox/mapbox-gl-native/pull/1840#issuecomment-119019989","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1840","id":119019989,"user":{"login":"mb12","id":8890269,"avatar_url":"https://avatars.githubusercontent.com/u/8890269?v=3","gravatar_id":"","url":"https://api.github.com/users/mb12","html_url":"https://github.com/mb12","followers_url":"https://api.github.com/users/mb12/followers","following_url":"https://api.github.com/users/mb12/following{/other_user}","gists_url":"https://api.github.com/users/mb12/gists{/gist_id}","starred_url":"https://api.github.com/users/mb12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mb12/subscriptions","organizations_url":"https://api.github.com/users/mb12/orgs","repos_url":"https://api.github.com/users/mb12/repos","events_url":"https://api.github.com/users/mb12/events{/privacy}","received_events_url":"https://api.github.com/users/mb12/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T22:47:19Z","updated_at":"2015-07-06T22:47:19Z","body":"Is there a plan to add automated tests as well for these changes?"}}