Traewelldroid / traewelldroid

Android app for @Traewelling public transport check-in service
https://traewelldroid.de
GNU Affero General Public License v3.0
67 stars 8 forks source link

(OpenRailway)Map loading very slowly/only when interacted with #335

Open rugk opened 3 months ago

rugk commented 3 months ago

Describe the bug The default map is loading very slowly or only when one interacts with it.

To Reproduce Open any checkin.

https://github.com/Traewelldroid/traewelldroid/assets/11966684/28f7a5fe-802b-41ca-b0a0-52592f4031fa

What happens, is, the map is loading very slowly or only when one interacts with it like dragging or dropping or zooming. The tiles seem to be cached, so same checkins/same locations load faster on further requests, but the inital loading is still slow. Much slower than on https://www.openrailwaymap.org/.

This was tested in wifi.

Expected behavior Map should load much faster. Also it should load all tiles, not only when I interact with them.

Screenshots see above

Smartphone (please complete the following information): Device: Fairphone 4 (FP4)
OS: Android 14, CalyxOS 5.4.1
source: F-Droid
version: v 2.7.0 Build-ID: UQ1A.240205.004.24504010

Additional context I use the default map setting (infrastructure, railway etc.).

Don't wonder about the shown example, this is a bug of Traewelling (see https://github.com/Traewelling/traewelling/issues/2403).

rugk commented 3 months ago

Yeah this often ends with some tiles being loaded and some not.

e9161f50-4f48-41f5-bf8c-823bb3cf2315