Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High-res displays cause mapsforge online maps to be drawn unreadable #352

Open
murggel opened this issue Jan 5, 2022 · 5 comments
Open
Labels
Bug Something isn't working

Comments

@murggel
Copy link

murggel commented Jan 5, 2022

Describe your problem!

I didn't play WhereYouGo in the last time, but just installed the beta-version 2022.01.22 to test it.

On my Samsung S20 the cartridge name and other text is hard to read. Changing font-size in the settings (WhereYouGo and System) didn't had any effect.

How to reproduce?

Screenshot_20220103-201955_WhereYouGo

Actual result after these steps?

No response

Expected result after these steps?

No response

Reproducible

Yes

WhereYouGo Version

2022.01.22

System information

extracted from cgeo

Device type: SM-G980F (x1sxx, samsung)
Available processors: 8
Android version: 11
Android build: RP1A.200720.012.G980FXXUBDUI5
Screen resolution: 1080x2178px (360x726dp)
Pixel density: 3.3000002
System font scale: 1.1 / used scale: 1.1
Sailfish OS detected: false
Google Play services: enabled - 21.45.16 (150408-414021728)

Additional Information

I found #76 but don't know if it is related, but appearently did not fix it on my device

@murggel murggel added Bug Something isn't working Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility labels Jan 5, 2022
@Lineflyer
Copy link
Member

I would also assume it sabout the tile-zoom / tile size as mentioned in #76 with its reference to the c:geo issue.

We had such problem in c:geo years ago and it was fixed this way (maybe needs a newer mapsforge version).

@Lineflyer Lineflyer removed the Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility label Jan 6, 2022
@Lineflyer
Copy link
Member

If someone wants to work on this:
The solution is described in cgeo/cgeo#7750 and the linked commits / PRs.

@Lineflyer
Copy link
Member

An extract of one issue comment there by @rsudev and base for the later fix by @jonas-koeritz

After researching for a while, I think I now know the background for this issue.
The zoom level relates to the tile the map is drawn with.

  • Google map always uses tile size 256
  • Mapsforge online always uses tile size 256
  • Mapsforge offline uses a tile size depending on the the resolution (I tested mdpi through to xxhdpi):
    • Minimum (up to hdpi) is 256
    • xhdpi 512
    • xxhdpi 768

@Lineflyer Lineflyer changed the title Cartridge name and other text is hard to read for online map High-res displays cause mapsforge online maps to be drawn unreadable Jan 15, 2022
@Lineflyer
Copy link
Member

@murggel
Yes, #76 is the same IMHO. I copied the relevant information to here, renamed your issue and closed #76.

@andrixnet
Copy link

I was about to say that 2022.01.14 version still has this. Adding myself to this thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants