{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1451","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1451/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1451/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1451/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/1451","id":104547654,"number":1451,"title":"changing text-size with style api broken","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":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-02T18:48:59Z","updated_at":"2015-09-02T21:49:37Z","closed_at":null,"body":"changes to `text-size` made with the style api aren't visible. This was probably broken by https://github.com/mapbox/mapbox-gl-js/pull/1419\r\n\r\n`text-size` is also a paint property internally. The internal paint property gets set [here](https://github.com/mapbox/mapbox-gl-js/blob/1bff3b6d5a6c209df4a107db52a5a04cb662c487/js/style/style_layer.js#L121). I think `_resolvedLayout` might not be getting updated after the new `text-size` is set.\r\n\r\nI think StyleLayer.setLayoutProperty might need to run some of this stuff: https://github.com/mapbox/mapbox-gl-js/blob/1bff3b6d5a6c209df4a107db52a5a04cb662c487/js/style/style_layer.js#L29-L39"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/137254188","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/1451#issuecomment-137254188","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1451","id":137254188,"user":{"login":"edenh","id":1577766,"avatar_url":"https://avatars.githubusercontent.com/u/1577766?v=3","gravatar_id":"","url":"https://api.github.com/users/edenh","html_url":"https://github.com/edenh","followers_url":"https://api.github.com/users/edenh/followers","following_url":"https://api.github.com/users/edenh/following{/other_user}","gists_url":"https://api.github.com/users/edenh/gists{/gist_id}","starred_url":"https://api.github.com/users/edenh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edenh/subscriptions","organizations_url":"https://api.github.com/users/edenh/orgs","repos_url":"https://api.github.com/users/edenh/repos","events_url":"https://api.github.com/users/edenh/events{/privacy}","received_events_url":"https://api.github.com/users/edenh/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T21:49:37Z","updated_at":"2015-09-02T21:49:37Z","body":"Should `_resolvedLayout` be updated on every layout property change, or only for `text-max`?"}}