{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1673","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1673/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1673/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/1673/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/1673","id":84073108,"number":1673,"title":"add padding to annotation tiles","user":{"login":"ansis","id":1421652,"avatar_url":"https://avatars.githubusercontent.com/u/1421652?v=3","gravatar_id":"","url":"https://api.github.com/users/ansis","html_url":"https://github.com/ansis","followers_url":"https://api.github.com/users/ansis/followers","following_url":"https://api.github.com/users/ansis/following{/other_user}","gists_url":"https://api.github.com/users/ansis/gists{/gist_id}","starred_url":"https://api.github.com/users/ansis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansis/subscriptions","organizations_url":"https://api.github.com/users/ansis/orgs","repos_url":"https://api.github.com/users/ansis/repos","events_url":"https://api.github.com/users/ansis/events{/privacy}","received_events_url":"https://api.github.com/users/ansis/received_events","type":"User","site_admin":false},"labels":[{"id":352634063,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/Core%20GL","name":"Core GL","color":"000000","default":false},{"id":87971329,"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/GL%20JS%20parity","name":"GL JS parity","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-06-02T15:30:45Z","updated_at":"2016-11-18T08:13:53Z","closed_at":"2016-11-18T08:13:53Z","body":"In order to properly sort markers across tiles (#988) we need annotation tiles to also include features that are outside of the tile's boundaries, but within a certain distance of the tile edge.\n\nThis will let us clip markers to tile boundaries at draw time to avoid incorrect overlap across tiles. Since markers near edges are included in both tiles they will be drawn seamlessly. Half the marker will be drawn by one tile and half by the other. This is how the -js implementation works.\n\nThis should be done after https://github.com/mapbox/mapbox-gl-native/pull/1666 and https://github.com/mapbox/mapbox-gl-native/pull/1655 are merged.\n\nThis will fix \n![screen shot 2015-06-02 at 11 28 57 am](https://cloud.githubusercontent.com/assets/1421652/7939740/96799a1e-091a-11e5-8250-82dedc0d1415.png)\n\nAfter implementing, change these two lines:\nhttps://github.com/mapbox/mapbox-gl-native/blob/3dfa317cf9689c5bbd0994f86bdf6b068b1c6716/src/mbgl/renderer/symbol_bucket.cpp#L326\nhttps://github.com/mapbox/mapbox-gl-native/blob/3dfa317cf9689c5bbd0994f86bdf6b068b1c6716/src/mbgl/renderer/painter_symbol.cpp#L122\n"}}
{"actor":{"display_login":"brunoabinader"}}