{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2052","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2052/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2052/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2052/events","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/2052","id":131213664,"number":2052,"title":"return text and icons in featuresAt queries","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":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-04T01:51:54Z","updated_at":"2016-02-08T22:02:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/pulls/2052","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/2052","diff_url":"https://github.com/mapbox/mapbox-gl-js/pull/2052.diff","patch_url":"https://github.com/mapbox/mapbox-gl-js/pull/2052.patch"},"body":"This adds currently visible text and icons to featuresAt results.\r\n\r\nfix #303\r\nfix #862\r\n\r\nThis increases worker memory usage by around 10% (a couple of MB).\r\n1/3 of the increase comes from retaining the CollisionTile.\r\n2/3 of the increase comes from retaining VectorTileFeatures.\r\n\r\n\r\nSymbolBucket merges lines to improve placement. This means that sometimes there is more than one VectorTileFeature responsible for that symbol. It currently returns the first VectorTileFeature and ignores the others that were merged into it. Should it do something else?\r\n\r\n:eyes: @jfirebaugh "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/181587257","html_url":"https://github.com/mapbox/mapbox-gl-js/pull/2052#issuecomment-181587257","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2052","id":181587257,"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},"created_at":"2016-02-08T22:02:02Z","updated_at":"2016-02-08T22:02:02Z","body":"> Will this addition allow me to distinguish \"geographical\" hits from text/icon hits?\r\n\r\nAfter this and https://github.com/mapbox/mapbox-gl-js/issues/316 there will be no more \"geo\" hits if I'm understanding you correctly. All hits would be based on the rendered representation of features, not the source geometry. In your case, if you click in the center you would get a hit only for the center icon."}}