{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6390","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6390/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6390/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/6390/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/6390","id":308208398,"number":6390,"title":"Incorrect cross-fading at non-integer zoom levels","user":{"login":"mollymerp","id":2425307,"avatar_url":"https://avatars3.githubusercontent.com/u/2425307?v=4","gravatar_id":"","url":"https://api.github.com/users/mollymerp","html_url":"https://github.com/mollymerp","followers_url":"https://api.github.com/users/mollymerp/followers","following_url":"https://api.github.com/users/mollymerp/following{/other_user}","gists_url":"https://api.github.com/users/mollymerp/gists{/gist_id}","starred_url":"https://api.github.com/users/mollymerp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mollymerp/subscriptions","organizations_url":"https://api.github.com/users/mollymerp/orgs","repos_url":"https://api.github.com/users/mollymerp/repos","events_url":"https://api.github.com/users/mollymerp/events{/privacy}","received_events_url":"https://api.github.com/users/mollymerp/received_events","type":"User","site_admin":false},"labels":[{"id":31015436,"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/bug%20:beetle:","name":"bug :beetle:","color":"c5def5","default":false},{"id":225260996,"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/needs%20discussion%20:speech_balloon:","name":"needs discussion :speech_balloon:","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-23T23:47:02Z","updated_at":"2018-03-23T23:47:02Z","closed_at":null,"author_association":"MEMBER","body":"http://jsbin.com/gatejucoti/edit?html,output\r\n\r\n![crossfade](https://user-images.githubusercontent.com/2425307/37857524-c847f06a-2eb8-11e8-97c7-d8a1abd19131.gif)\r\n\r\nThis is because the crossfade interpolation factor `t`  is designed to cross-fade the property across integer zoom levels, so when you have a non-integer zoom level, the `from` and `to` values of the `CrossFadedProperty` will be incorrect at integer zooms after a non-integer stop. \r\n\r\nI think we should disallow non-integer stops for these properties, because they're non-interpolatable so they won't work anyways with data-driven expressions, so I think it may cause confusion if they're supported for camera expressions. \r\n\r\n@nickidlugash @natslaughter do you have strong feelings about this?\r\n\r\ncc @ansis @anandthakker "}}
{"actor":{"display_login":"mollymerp"}}