DEPRECATED-mapbox-ios-sdk icon indicating copy to clipboard operation
DEPRECATED-mapbox-ios-sdk copied to clipboard

Unreadable map when zooming in/out on retina displays

Open entropid opened this issue 9 years ago • 2 comments

When you zoom in/out on a retina display, the titles on the map become unreadable far before it switches to an upper zoom level for the tiles.

If initially the map appears like this: 1 2 3

After zooming in and out a bit they become like this: 4 5 6

Which translates into a poor user experience, since zooming in again does not help and the titles are still tiny and impossible to read.

entropid avatar May 06 '15 22:05 entropid

You can force the map view to upscale the 256px tiles to double, by using the mapView.adjustTilesForRetinaDisplay = YES property. From the documentation:

If set to YES, the map tiles are drawn at double size, typically 512 pixels square instead of 256 pixels, in order to compensate for smaller features and to make them more legible. If tiles designed for retina devices are used, this value should be set to NO in order to display these tiles at the proper size. The default value is NO.

Svantulden avatar Jun 25 '15 07:06 Svantulden

The tiles would then be presented in the wrong size before the bug occurs.

entropid avatar Jul 04 '15 17:07 entropid