{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1259","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1259/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1259/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1259/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/1259","id":86685314,"number":1259,"title":"setConstant API?","user":{"login":"lbud","id":3170312,"avatar_url":"https://avatars.githubusercontent.com/u/3170312?v=3","gravatar_id":"","url":"https://api.github.com/users/lbud","html_url":"https://github.com/lbud","followers_url":"https://api.github.com/users/lbud/followers","following_url":"https://api.github.com/users/lbud/following{/other_user}","gists_url":"https://api.github.com/users/lbud/gists{/gist_id}","starred_url":"https://api.github.com/users/lbud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbud/subscriptions","organizations_url":"https://api.github.com/users/lbud/orgs","repos_url":"https://api.github.com/users/lbud/repos","events_url":"https://api.github.com/users/lbud/events{/privacy}","received_events_url":"https://api.github.com/users/lbud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T18:11:19Z","updated_at":"2015-06-09T18:22:21Z","closed_at":null,"body":"Changing a color in the editor can be cascaded nicely, but changing a color via a constant (which happens a lot if you're tweaking preset style templates) doesn't cascade and looks jarring. Would it be worth adding a `setConstant` API that can cascade paint props? (potentially related to the [typed constants](https://github.com/mapbox/mapbox-gl-style-spec/issues/227) change…)\r\n\r\ncc @jfirebaugh @tmcw @edenh @samanpwbb "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/110454604","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/1259#issuecomment-110454604","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1259","id":110454604,"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-06-09T18:22:21Z","updated_at":"2015-06-09T18:22:21Z","body":"Definitely. It should have `removeConstant` too."}}