You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 25, 2023. It is now read-only.
This is due to trying to load a tile with the zoom level of 20 or great. Is there any way to get a lower quality image instead?
What I tried
Maximum zoom level by listening to map events: Does not work properly due to the 3D mode
Call the completion block of -loadTileAtPath:result: with nil and error, which results in a white space instead
Don't call the completion block at at, which results in a white space
I guess it would be possible to calculate the x and y coordinate of the tile of the previous zoom level, which might be complicated and expensive for the device?
@wsnook Thanks for your response.
Apple handles this problem fine, the server seem to just respond with the correct tiles (lower quality, but at least valid tile images)
You can easily try it with the default map app, where you can zoom in to a very high level and still see valid images.
I understand MBXMapKit just extends MKMapView and implements a few methods that take care of downloading and caching the tiles.
So, the download part has to fixed either on the server by returning valid images (which would take a lot of time to deploy) or by fixing it in the iOS code, like calculating which tile was used one zoom level above and just stretching it to fit.
Activity
KrauseFx commentedon Feb 6, 2014
@wsnook Thanks for your response.
Apple handles this problem fine, the server seem to just respond with the correct tiles (lower quality, but at least valid tile images)
You can easily try it with the default map app, where you can zoom in to a very high level and still see valid images.
I understand MBXMapKit just extends MKMapView and implements a few methods that take care of downloading and caching the tiles.
So, the download part has to fixed either on the server by returning valid images (which would take a lot of time to deploy) or by fixing it in the iOS code, like calculating which tile was used one zoom level above and just stretching it to fit.