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

Retina display and maximum zoom available #181

Closed
andreacremaschi opened this issue Jun 13, 2012 · 2 comments
Closed

Retina display and maximum zoom available #181

andreacremaschi opened this issue Jun 13, 2012 · 2 comments

Comments

@andreacremaschi
Copy link

Hi,
I may have noticed an issue with retina display not addressed in the list: I am using an offline tile source (.mbtile) with range 14-18. On an iPhone3GS the map correctly zoom to level 18, while on iPhone4 and iPad2 (with Retina Display) the same app with the same db reaches a maximum map zoom of 17 (so that tiles are stretched by scrollview and get jagged).

@andreacremaschi
Copy link
Author

This is related with 'adjustTilesForRetinaDisplay' flag: when set, the max map zoom level is never used (wasting disk space on the mobile!)

@andreacremaschi
Copy link
Author

Sorry, this was supposed to be posted in mapbox-ios-sdk/route-me fork (but maybe is related with the main branch too? I don't see any reference to retina in source code, where levelsofdetail is been set:

layer.levelsOfDetail = tileProjection.maxZoom + 1; // check this.
layer.levelsOfDetailBias = 1; // Allows zoom level 0.

jklimke pushed a commit to jklimke/mapbox-ios-sdk that referenced this issue Feb 10, 2013
yarry pushed a commit to yarry/route-me that referenced this issue Jul 18, 2015
 * long press on enabled annotation now begins drag
 * support changing of drag state with custom animations
 * default RMMarker to animated drag
 * added state change callback like MapKit
 * always defer to delegate for drag enabling instead of a property
 * remove unnecessary secondary pan gesture recognizer (for old drags)
yarry pushed a commit to yarry/route-me that referenced this issue Jul 18, 2015
yarry pushed a commit to yarry/route-me that referenced this issue Jul 18, 2015
yarry pushed a commit to yarry/route-me that referenced this issue Jul 18, 2015
yarry pushed a commit to yarry/route-me that referenced this issue Jul 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant