Open mfazekas opened 2 years ago
Seeing the same thing and it's really problematic for us. Any insights on this from Mapbox would be very appreciated as well.
I don't think this is related to the connection issue, but could you please set RasterDem source max zoom to 14?
For tile size demSource.tileSize = 514
, max zoom is 14, there are no tiles at zoom level 15.
Failed to load tile 15/5790/11930=>15 for source mapbox://mapbox.terrain-rgb: ilingURLKey=https://api.mapbox.com/v4/mapbox.terrain-rgb/15/5792/11928.png?access_token=xxx&sku=100rX9NGkvY59d164eb65cc45eeeaa8d252e3769803, _kCFStreamErrorDomainKey=1} 2022-10-18 13:05:14.491448+0200 MapboxV10SwiftBase[1194:15160224] [Mapbox] [Error, maps-core]: {}[Style]: Failed to load tile 15/5792/11928=>15 for source mapbox://mapbox.terrain-rgb: ??? didBegin: pan
Is the same reproducible on Android or with mapbox-gl-js?
@mfazekas
Could you please set maxZoom to 14, like in the Maps SDK example? https://github.com/mapbox/mapbox-maps-ios/blob/6b0e3730146930160607051f9b64294a34c9522e/Apps/Examples/Examples/All%20Examples/TerrainExample.swift#L39
Need your help in identifying the issue:
the lost connection. Does this happen when connection is on (when not running offline mode)?
panning slows down as camera is closer to ground and pitch changes. This issue is addressed in https://github.com/mapbox/mapbox-gl-js/pull/12280#discussion_r1008571578. This looks like the same issue - were you able to zoom out once the camera panning gets stuck?
@astojilj sorry for late answer,
I did add demSource.maxzoom = 14.0
but still saw the issue.
the lost connection. Does this happen when connection is on (when not running offline mode)?
No I don't see lost connection, just when testing with wifi off.
panning slows down as camera is closer to ground and pitch changes.
Yes I think this is the issue we're facing here. Yes when stuck I can zoom out then panning works again.
Environment
Observed behavior and steps to reproduce
https://user-images.githubusercontent.com/52435/196415778-684dec53-beee-449d-9800-d8382f313aa8.mov
Happens around 20sec of the video. The panning stuck.
Logs around there at the end of report, I do see logs for pan statement, but the pan actions are not doing anything for a while.
To reproduce start the app, press download button, wait for the download to complete, turn off wifi. And start panning in one direction.
Code used:
Expected behavior
Notes / preliminary analysis
Additional links and references
Logs: