{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/200","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/200/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/200/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/200","id":23252399,"number":200,"title":"Highlight individual features","user":{"login":"kkaefer","id":52399,"avatar_url":"https://avatars.githubusercontent.com/u/52399?v=3","gravatar_id":"","url":"https://api.github.com/users/kkaefer","html_url":"https://github.com/kkaefer","followers_url":"https://api.github.com/users/kkaefer/followers","following_url":"https://api.github.com/users/kkaefer/following{/other_user}","gists_url":"https://api.github.com/users/kkaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/kkaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkaefer/subscriptions","organizations_url":"https://api.github.com/users/kkaefer/orgs","repos_url":"https://api.github.com/users/kkaefer/repos","events_url":"https://api.github.com/users/kkaefer/events{/privacy}","received_events_url":"https://api.github.com/users/kkaefer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/rendering","name":"rendering","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/milestones/5","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/milestones/5/labels","id":682066,"number":5,"title":"future","description":"","creator":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":61,"state":"open","created_at":"2014-06-05T11:12:03Z","updated_at":"2015-02-16T19:47:46Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2013-11-25T16:11:20Z","updated_at":"2015-02-19T23:47:24Z","closed_at":null,"body":"When building the geometry buffer, we should store the position where we encode every individual feature so that later on, we can render individual features differently from the rest of the herd, e.g. for highlighting a feature."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/75163677","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/200#issuecomment-75163677","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/200","id":75163677,"user":{"login":"jfirebaugh","id":98601,"avatar_url":"https://avatars.githubusercontent.com/u/98601?v=3","gravatar_id":"","url":"https://api.github.com/users/jfirebaugh","html_url":"https://github.com/jfirebaugh","followers_url":"https://api.github.com/users/jfirebaugh/followers","following_url":"https://api.github.com/users/jfirebaugh/following{/other_user}","gists_url":"https://api.github.com/users/jfirebaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/jfirebaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfirebaugh/subscriptions","organizations_url":"https://api.github.com/users/jfirebaugh/orgs","repos_url":"https://api.github.com/users/jfirebaugh/repos","events_url":"https://api.github.com/users/jfirebaugh/events{/privacy}","received_events_url":"https://api.github.com/users/jfirebaugh/received_events","type":"User","site_admin":false},"created_at":"2015-02-19T23:47:24Z","updated_at":"2015-02-19T23:47:24Z","body":"I've been thinking about this in terms of pseudo-classes. Imagine you can define a style layer like:\r\n\r\n```\r\n{\r\n  \"id\": \"pois\",\r\n  \"type\": \"symbol\",\r\n  \"paint\": {\r\n    ...\r\n  },\r\n  \"paint:hover\": {\r\n    ...\r\n  },\r\n  \"paint:active\": {\r\n    ...\r\n  }\r\n}\r\n```\r\n\r\n[Insert handwaving about how pseudo-class state for a given feature would be determined (mouseover for `:hover`, click for `:active`).]"}}