-
Notifications
You must be signed in to change notification settings - Fork 1.3k
raster tiles blurry #963
Comments
Interesting. Things look pretty sharp at z13+. Need to see which tiles are actually being fetched. |
@yhahn points out that 2× satellite tiles are currently upsampled at low zoom levels. @incanus, please compare with this online preview and close if you’re satisifed that it isn’t a software issue. |
Weird. We didn't used to have this problem. |
Here's specifically what I'm seeing: https://dl.dropboxusercontent.com/u/575564/rasterblur.mov You can see things looking ok at 15, 16, back out to 15, 14, 13, and then 12 looks like crap, as does anything lower-numbered out to 8, when I stop. This is a retina iPad, so the screen is 768x1024 virtual (1536x2048 actual). However, based on the tile borders, these are 512 raster tiles being shown in 512 of virtual space. In reality, we should be seeing 4x as many tiles on screen as we are. In the old, 256 raster days, we would see 16x as many tiles. |
The current behavior is expected: for z in the interval [2, 3) we load z2 vector tiles and z3 raster tiles. At z2.0000 you see 512px @2x raster tiles in 256px of virtual space. At z2.9999, you see 512px raster tiles in ~512px of virtual space. Whether we want to change that is being discussed in https://github.com/mapbox/mapbox-gl-js/issues/1030. |
Confirmed by:
That things are not blurry when at integer zooms. I put in my vote over in mapbox/mapbox-gl-js#1030. |
Per scrum discussion, we'll address this in a followup to the initial iOS Beta release. |
Main discussion is still over at mapbox/mapbox-gl-js#1030, but something more relevant for mobile: Since this issue is really a tradeoff between image sharpness and tile loading time, can we detect the device's current connection quality/network speed and make the appropriate call? When slow, opt for blurry and stretched (Math.floor), so the lag wouldn't be terribad; when fast, try to get more sharpness. |
A good way to evaluate how things are looking here as well is to use older, raster styles (not satellite) and evaluate the text legibility. We should be striving for this for backwards compatibility / use with other stacks and it can be easier to see blurriness / sharpness in these instances rather than straight-up satellite rasters. |
The approach taken in mapbox/mapbox-gl-js#1221 doesn’t seem to have any effect in mapbox-gl-native. |
Raster tiles aren't a focus of b2; pushing. |
Possibly related to #924, but raster tiles are blurry on device.
The tile borders are 2x larger than they should be in debug mode.
In addition, sometimes it looks like maybe two different zoom levels are being drawn together?
/cc @1ec5 @jfirebaugh
The text was updated successfully, but these errors were encountered: