{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1093","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1093/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1093/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1093/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/1093","id":61884314,"number":1093,"title":"Vector tile data rendered incorrectly if extent != 4096","user":{"login":"paulmach","id":366320,"avatar_url":"https://avatars.githubusercontent.com/u/366320?v=3","gravatar_id":"","url":"https://api.github.com/users/paulmach","html_url":"https://github.com/paulmach","followers_url":"https://api.github.com/users/paulmach/followers","following_url":"https://api.github.com/users/paulmach/following{/other_user}","gists_url":"https://api.github.com/users/paulmach/gists{/gist_id}","starred_url":"https://api.github.com/users/paulmach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulmach/subscriptions","organizations_url":"https://api.github.com/users/paulmach/orgs","repos_url":"https://api.github.com/users/paulmach/repos","events_url":"https://api.github.com/users/paulmach/events{/privacy}","received_events_url":"https://api.github.com/users/paulmach/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"tmcw","id":32314,"avatar_url":"https://avatars.githubusercontent.com/u/32314?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcw","html_url":"https://github.com/tmcw","followers_url":"https://api.github.com/users/tmcw/followers","following_url":"https://api.github.com/users/tmcw/following{/other_user}","gists_url":"https://api.github.com/users/tmcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcw/subscriptions","organizations_url":"https://api.github.com/users/tmcw/orgs","repos_url":"https://api.github.com/users/tmcw/repos","events_url":"https://api.github.com/users/tmcw/events{/privacy}","received_events_url":"https://api.github.com/users/tmcw/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-03-15T19:05:36Z","updated_at":"2015-09-15T21:49:41Z","closed_at":null,"body":"It looks like all vector tiles get rendered the same regardless of the extent value in the pbf file. By default this value is 4096 so usually everything is fine. However, [tippecanoe](https://github.com/mapbox/tippecanoe) generates tiles with extents of 1024 and 2048 and those display incorrectly in mapbox-gl-js\r\n\r\nI created an example gist (sorry no live version) that renders 3 vector tiles, each with the same short linestring data. The only difference is the extent values in the file (no other values changed or scaled). All are rendered on top of each other, when that is not correct. https://gist.github.com/paulmach/14fcf55bc67e8abdff62  Here is what it looks like:\r\n![screen shot 2015-03-15 at 12 04 02 pm](https://cloud.githubusercontent.com/assets/366320/6657491/6cc82502-cb0b-11e4-849c-b451dd49ef5d.png)\r\n\r\n\r\nFYI @ericfischer "},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/140556696","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/1093#issuecomment-140556696","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/1093","id":140556696,"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-09-15T21:49:41Z","updated_at":"2015-09-15T21:49:41Z","body":"91d2e0ee5cf4ed3811804ef40b1696f93de74410 added another hard-coded 4096."}}