Started by Tobias, May 05, 2016, 21:12:07
0 Members and 1 Guest are viewing this topic.
Quote from: menion on May 08, 2016, 11:26:37So, you suggestion is to round this multiplier to whole numbers that multiply 2 to always correctly fit tiles? So 2.5 round to "2", 3.5 round to "2" (maybe up to 4)? Correct?
QuoteOr any better solution already used in MapsForge?
Quote from: menion on May 09, 2016, 10:01:42For now, I've at least improved DPI scaling, so now values of density used for scaling will be rounded on all devices to 1, 2, 4 values, so if you will use sizes for your images as 8, 16, 32, 64, you will be fine. Unfortunately my device I use for daily use has density that cause no such troubles, but quick test in emulator and it seems to work fine. Ok for now?
Quote from: menion on May 09, 2016, 12:23:03To keep consistency, this change apply on all values defined with "dp" units in theme.xml file, so no worry.
Quote from: menion on May 09, 2016, 18:41:54because this task is not so simple (handle differently scale for areas and for paths)