{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2439","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2439/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2439/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2439/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/2439","id":148198689,"number":2439,"title":"Create a data-driven styling example","user":{"login":"lucaswoj","id":281306,"avatar_url":"https://avatars.githubusercontent.com/u/281306?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswoj","html_url":"https://github.com/lucaswoj","followers_url":"https://api.github.com/users/lucaswoj/followers","following_url":"https://api.github.com/users/lucaswoj/following{/other_user}","gists_url":"https://api.github.com/users/lucaswoj/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswoj/subscriptions","organizations_url":"https://api.github.com/users/lucaswoj/orgs","repos_url":"https://api.github.com/users/lucaswoj/repos","events_url":"https://api.github.com/users/lucaswoj/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswoj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/examples","name":"examples","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-13T22:16:27Z","updated_at":"2016-04-29T17:43:22Z","closed_at":null,"body":"Now that we've merged #1932, we should post a simple example using data-driven styling. \r\n\r\nWe only support data-driven styling for `circle-size` and `circle-color` in `mapbox-gl-js`. There’s no support for other properties, `mapbox-gl-native`, or Studio. Given all the caveats, we aren’t going to advertise it too heavily yet but I’d love to get some intrepid users using it.\r\n\r\nI created a simple example here: https://bl.ocks.org/lucaswoj/4fa16fcf9663f67f6b7d4a7225dc3524\r\n\r\ncc @danswick @tristen @peterqliu "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/215826816","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/2439#issuecomment-215826816","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/2439","id":215826816,"user":{"login":"peterqliu","id":4551508,"avatar_url":"https://avatars.githubusercontent.com/u/4551508?v=3","gravatar_id":"","url":"https://api.github.com/users/peterqliu","html_url":"https://github.com/peterqliu","followers_url":"https://api.github.com/users/peterqliu/followers","following_url":"https://api.github.com/users/peterqliu/following{/other_user}","gists_url":"https://api.github.com/users/peterqliu/gists{/gist_id}","starred_url":"https://api.github.com/users/peterqliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterqliu/subscriptions","organizations_url":"https://api.github.com/users/peterqliu/orgs","repos_url":"https://api.github.com/users/peterqliu/repos","events_url":"https://api.github.com/users/peterqliu/events{/privacy}","received_events_url":"https://api.github.com/users/peterqliu/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T17:43:22Z","updated_at":"2016-04-29T17:43:22Z","body":"🙇 thanks @ericfischer. This will come out as a map ID on `enf`'s account; @lucaswoj what's the best way to store this for longevity?"}}