diff --git a/drape/visual_scale.hpp b/drape/visual_scale.hpp index 46b3041e0a..8ef499335b 100644 --- a/drape/visual_scale.hpp +++ b/drape/visual_scale.hpp @@ -5,6 +5,11 @@ namespace dp inline double VisualScale(double exactDensityDPI) noexcept { double constexpr kMdpiDensityDPI = 160.; + double const tabletFactor = 1.2; + // In case of tablets and iPads increased DPI is used to make visual scale bigger. + if (GetPlatform().IsTablet()) + exactDensityDPI *= tabletFactor; + // For some old devices (for example iPad 2) the density could be less than 160 DPI. // Returns one in that case to keep readable text on the map. return max(1., exactDensityDPI / kMdpiDensityDPI);