You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
i've got a rendering error on several zoom levels with the latest SDK version (5.0.2).
With SDK version 4.2.0 I had no problems and if I style my Mapbox map everything looks fine (like the first screenshot).
Thank you -- I was able to easily reproduce the issue with your style. The cause of the aliasing seen around the edges of the opaque portions of the raster layer is that tiles from lower zoom levels are being rendered underneath the desired tiles. These low zoom tiles are overzoomed for rendering, producing undesired artifacts. You can see this more clearly when turning on tile borders:
These lower zoom tiles are loaded by an overly-aggressive tile loading algorithm, which is detecting that some tiles cannot be loaded at the desired zoom (because they are outside of the bounds of the raster source and don't exist), and loads lower zoom tiles in an effort to fully cover the visible area. This is a bug; we'll need to either adjust what tiles are loaded in this situation or ensure that we clip out child tiles when rendering the lower zoom tiles.
Activity
jfirebaugh commentedon Apr 7, 2017
Can you provide the style with custom tileset you're using?
[-][Android] Custom tileset rendering error[/-][+]Custom tileset rendering error[/+]P-Zenker commentedon Apr 10, 2017
Style URL: mapbox://styles/patrickzenker/ciuton0ty00yv2hpbjgv5l4df
Lat/Lng: 53.874336,10.683844
jfirebaugh commentedon Apr 12, 2017
Thank you -- I was able to easily reproduce the issue with your style. The cause of the aliasing seen around the edges of the opaque portions of the raster layer is that tiles from lower zoom levels are being rendered underneath the desired tiles. These low zoom tiles are overzoomed for rendering, producing undesired artifacts. You can see this more clearly when turning on tile borders:
These lower zoom tiles are loaded by an overly-aggressive tile loading algorithm, which is detecting that some tiles cannot be loaded at the desired zoom (because they are outside of the bounds of the raster source and don't exist), and loads lower zoom tiles in an effort to fully cover the visible area. This is a bug; we'll need to either adjust what tiles are loaded in this situation or ensure that we clip out child tiles when rendering the lower zoom tiles.
cc @kkaefer
jfirebaugh commentedon Apr 12, 2017
Might be addressed by #5394.
kkaefer commentedon Jul 24, 2017
Fixed by #9468.
P-Zenker commentedon Oct 6, 2017
@kkaefer @jfirebaugh
With
I still got the issue with Android (and iOS with latest version too).
Am I doing something wrong when I convert my images to MBTiles (to upload them into Mapbox Studio)?
If I watch the style with Mapbox Studio everything is fine.
Update: With @5.2.0-beta.1 this issue is gone.