{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/320","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/320/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/320/events","html_url":"https://github.com/mapbox/mapbox-gl-style-spec/issues/320","id":96679436,"number":320,"title":"icon-rotate and feature field","user":{"login":"wheredoesyourmindgo","id":3316678,"avatar_url":"https://avatars.githubusercontent.com/u/3316678?v=3","gravatar_id":"","url":"https://api.github.com/users/wheredoesyourmindgo","html_url":"https://github.com/wheredoesyourmindgo","followers_url":"https://api.github.com/users/wheredoesyourmindgo/followers","following_url":"https://api.github.com/users/wheredoesyourmindgo/following{/other_user}","gists_url":"https://api.github.com/users/wheredoesyourmindgo/gists{/gist_id}","starred_url":"https://api.github.com/users/wheredoesyourmindgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheredoesyourmindgo/subscriptions","organizations_url":"https://api.github.com/users/wheredoesyourmindgo/orgs","repos_url":"https://api.github.com/users/wheredoesyourmindgo/repos","events_url":"https://api.github.com/users/wheredoesyourmindgo/events{/privacy}","received_events_url":"https://api.github.com/users/wheredoesyourmindgo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-22T22:22:23Z","updated_at":"2015-08-08T01:18:28Z","closed_at":"2015-08-04T00:55:37Z","body":"Is there a way to use a numerical value via a field property to rotate a symbol using \"icon-rotate\"?  Maybe something similar to  \"text-field\": \"{MY_FIELD}\" to populate text values for icons."},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/comments/128879003","html_url":"https://github.com/mapbox/mapbox-gl-style-spec/issues/320#issuecomment-128879003","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-style-spec/issues/320","id":128879003,"user":{"login":"wheredoesyourmindgo","id":3316678,"avatar_url":"https://avatars.githubusercontent.com/u/3316678?v=3","gravatar_id":"","url":"https://api.github.com/users/wheredoesyourmindgo","html_url":"https://github.com/wheredoesyourmindgo","followers_url":"https://api.github.com/users/wheredoesyourmindgo/followers","following_url":"https://api.github.com/users/wheredoesyourmindgo/following{/other_user}","gists_url":"https://api.github.com/users/wheredoesyourmindgo/gists{/gist_id}","starred_url":"https://api.github.com/users/wheredoesyourmindgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheredoesyourmindgo/subscriptions","organizations_url":"https://api.github.com/users/wheredoesyourmindgo/orgs","repos_url":"https://api.github.com/users/wheredoesyourmindgo/repos","events_url":"https://api.github.com/users/wheredoesyourmindgo/events{/privacy}","received_events_url":"https://api.github.com/users/wheredoesyourmindgo/received_events","type":"User","site_admin":false},"created_at":"2015-08-08T01:18:28Z","updated_at":"2015-08-08T01:18:28Z","body":"Thanks @jfirebaugh.  If anyone is looking for a whacky work-around for this I've been just using imagemagick to generate 360 rotated versions of the same symbol, and stuffing those into a sprite sheet using gl-style-spritify from [mapbox-gl-style-spec](https://github.com/mapbox/mapbox-gl-style-spec).  At that point you can simply use icon-image layer definition suffixed with the relevant token."}}