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
Description:
I’m experiencing an issue with the MapBox for Unity SDK (v2.1.1) where tiles from higher or lower zoom levels persist alongside tiles at the new zoom level. This happens when the zoom level is set below 6. When I update the zoom level using map.UpdateMap(latLon, zoom), the old zoom-level tiles often remain, resulting in a visually incorrect map display with tiles of two grid sizes overlapping.
Steps to Reproduce:
1. Initialize the map with MapBox SDK v2.1.1 in Unity.
2. Set a low zoom level (below 6).
3. Use map.UpdateMap(latLon, zoom) to change the zoom level.
4. Observe that tiles from the previous zoom level persist alongside the new tiles.
Expected Behavior:
Tiles from the old zoom level should be removed or refreshed when a new zoom level is set.
Actual Behavior:
Tiles from the previous zoom level remain on the map, creating a display with mixed tile sizes. The only workaround is to set the zoom to a higher level temporarily and then return it to the intended zoom level, which unfortunately causes additional downstream web request issues.
Note: The tile issue only happens with the Abstract Map set to Range Around Transform. When it's set to Range Around Center, the tiles seem fine when zooming, but this is not useful for my camera & environment setup.
UPDATE: Issue has returned with seemly no changes to anything map related. Map visible / dispose settings at 4x4, 6x6, or 8x8 all have mis-matched tiles at low zoom levels.
Description:
I’m experiencing an issue with the MapBox for Unity SDK (v2.1.1) where tiles from higher or lower zoom levels persist alongside tiles at the new zoom level. This happens when the zoom level is set below 6. When I update the zoom level using map.UpdateMap(latLon, zoom), the old zoom-level tiles often remain, resulting in a visually incorrect map display with tiles of two grid sizes overlapping.
Steps to Reproduce:
1. Initialize the map with MapBox SDK v2.1.1 in Unity.
2. Set a low zoom level (below 6).
3. Use map.UpdateMap(latLon, zoom) to change the zoom level.
4. Observe that tiles from the previous zoom level persist alongside the new tiles.
Expected Behavior:
Tiles from the old zoom level should be removed or refreshed when a new zoom level is set.
Actual Behavior:
Tiles from the previous zoom level remain on the map, creating a display with mixed tile sizes. The only workaround is to set the zoom to a higher level temporarily and then return it to the intended zoom level, which unfortunately causes additional downstream web request issues.
Environment:
• Unity: 2022.3.4f1
• MapBox SDK: 2.1.1
• Scripting Backend: Mono
• API Level: .NET Standard 2.1
• Build Platforms: Windows, macOS, iOS, Android
Here is a screen recording showing the behavior: https://app.screencast.com/fuh0lfZk0nFhk
The text was updated successfully, but these errors were encountered: