{"action":"opened","issue":{"url":"https://api.github.com/repos/openlayers/ol3/issues/5251","repository_url":"https://api.github.com/repos/openlayers/ol3","labels_url":"https://api.github.com/repos/openlayers/ol3/issues/5251/labels{/name}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/5251/comments","events_url":"https://api.github.com/repos/openlayers/ol3/issues/5251/events","html_url":"https://github.com/openlayers/ol3/issues/5251","id":149481313,"number":5251,"title":" Disable interim tiles for tile layer","user":{"login":"JelmerBaas","id":2844042,"avatar_url":"https://avatars.githubusercontent.com/u/2844042?v=3","gravatar_id":"","url":"https://api.github.com/users/JelmerBaas","html_url":"https://github.com/JelmerBaas","followers_url":"https://api.github.com/users/JelmerBaas/followers","following_url":"https://api.github.com/users/JelmerBaas/following{/other_user}","gists_url":"https://api.github.com/users/JelmerBaas/gists{/gist_id}","starred_url":"https://api.github.com/users/JelmerBaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JelmerBaas/subscriptions","organizations_url":"https://api.github.com/users/JelmerBaas/orgs","repos_url":"https://api.github.com/users/JelmerBaas/repos","events_url":"https://api.github.com/users/JelmerBaas/events{/privacy}","received_events_url":"https://api.github.com/users/JelmerBaas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-19T14:40:55Z","updated_at":"2016-04-19T14:40:55Z","closed_at":null,"body":"This is an exact cross post from a Stackoverflow question I asked a while back (http://stackoverflow.com/questions/36567347/disable-interim-tiles-for-tile-layer) , but thought I'd paste it here since it didn't get any response:\r\n\r\n> When creating a map like this:\r\n> \r\n> var map = new ol.Map({\r\n>    loadTilesWhileAnimating: true,\r\n>    loadTilesWhileInteracting: true\r\n> })\r\n> \r\n> OpenLayers 3 uses interim tiles (i.e., previously loaded lower resolution tiles) when zooming and panning until it has finished loading the new tiles. The interim tiles are placed behind the real tiles. Which is very clever, and is great for opaque layers, but much not so great for mostly transparent layers.\r\n> \r\n> We currently have a layer which consists of just a few lines, only a few pixels think. Slightly panning the map makes these into huge blobs, causes a lot of flicker.\r\n> \r\n> Is there a way to disable creating of these interim tiles, just for a specific layer? It would be disappointing if I'd need to disable both loadTilesWhile* properties just because of a single layer.\r\n> \r\n> For an example, see: http://imgur.com/RbtmkpT The left is normal (the red line is mine), right is after panning slightly.\r\n> \r\n> This is with cacheSize 0 on the source and useInterimTilesOnError false.\r\n> \r\n> Update: OpenLayers 3.12 behaves differently. In that version, only unloaded tiles are blurry (which is to be expected), but already loaded tiles are left alone. Starting from 3.13 or 3.14, this behavior changed.\r\n> \r\n\r\nBecause of this issue, we can't upgrade to 3.14 or 3.15 without disabling loadTilesWhileAnimating (which creates more visual loading time for our users).\r\n\r\nI see three solutions:\r\n\r\n- Revert to the way OL 3.12 worked;\r\n- Make loadTilesWhileAnimating a per-layer setting;\r\n- Load tiles while animating, but don't use tiles from a much different zoom level."}}