Scale up map for better readability #192
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
addresses #164
On high DPI devices, the map is scaled up, so texts are now readable. In addition, the track width is increased (set to 0.5mm), so the track is better visible on the map.
The upscaling introduces a minimal blurring, but it is really hardly noticable and there is no better way to do it. The map tiles are simply not available for HDPI devices, so upscaling on the device is the only option. Without it, one doesn't get happy, street names etc. are completely unreadable. Osmdroid does a fairly good job upscaling.
Note: I previously created this PR based on a wrong branch history. Sorry for this... (I just have too many branches on my devel machine, this sometimes confuses me).