andreynovikov / trekarta

Simple, responsive map for your trek. You decide how to journey today, not the application!
https://trekarta.info
GNU General Public License v3.0
169 stars 25 forks source link

Empty map screen #230

Closed maliayas closed 5 months ago

maliayas commented 6 months ago

The app was working fine for years. However, several weeks ago for some reason all the maps disappeared. This is the screen I see:

signal-2024-01-24-052326_002

Any idea why this happens?

I was using v2022.05 at the time. I've updated to 2023.12 but it didn't fix it.

To give some clues:

andreynovikov commented 6 months ago

According to map scale bar zoom is out of range for some unknown reason. Try one of:

If this will not help, I will add one more complicated option.

maliayas commented 6 months ago

Thanks for the help. Neither option fixed it. Map scale is still the same.

andreynovikov commented 6 months ago

Try this:

  1. Download Moscow 1852 custom map on device
  2. Import it with Trekarta
  3. Restart Trekarta (swipe it from recent apps and start again), otherwise it will not show new map
  4. Touch Maps icon, imported map should be there, similar to:
  5. Touch that map to activate it, position and zoom should be changed to show this map
maliayas commented 6 months ago

I imported and clicked on the map. Still the same. Screenshot:

signal-2024-01-25-180054

andreynovikov commented 6 months ago

This is absolutely weird. All these actions forcibly set map scale. I will investigate this issue. Meanwhile the only option left is to reinstall the app. But you have to pay attention that during reinstall all data created in app (points, tracks) will be lost. You have to carefully backup that data from Android/data/mobi.maptrek/files by yourself.

andreynovikov commented 5 months ago

Thank you a lot for issue report. I have finally magically found the source of a problem while testing very different part of application. The problem was with a track with only one point, which almost never happens.

maliayas commented 5 months ago

Wow, that's very good news and interesting at the same time! Looking forward to the next version. Thanks.

maliayas commented 5 months ago

I've installed the new version and news are bad :) The issue still exists and all the manual fix suggestions above still produces no fix.

I guess I'll reinstall the app. Just replied here so that you'd be aware that a nasty bug still hides somewhere in the code.

Thanks.

andreynovikov commented 5 months ago

Unfortunately, it can not fix consequences, only prevent it from happening. But now you can go to Advanced settings and reset map state. It will fix it.

maliayas commented 5 months ago

Ahh, finally my Trekarta is back. Thanks very much. I'm glad that this mystery is solved out.