I am working on an iPhone / iPad app that is using semi-transparant tiled map overlays via MKMapView and MKOverlay.
I want users to be able to zoom in deeply into the maps, but the resolution of my map overlays only goes to level 6.
I do not want to limit zooming.
But... If a user zooms "too far" and then scrolls to a new tile, if they are zoomed deeper than the tree of overlay tiles, my overlay is not drawn.
I want the overlay to draw even when the user is zoomed in deep.
Are there any best practices to achieve this?
The two options I have come up with:
1) Set a limit on how far users can zoom. Not ideal because even if the overlay is low-res, they are likely still within the colored range of transparency, and having the transparent over-layer seemingly vanish is misleading.
2) Pre-render tiles that go way deeper than they otherwise would... This works, but it balloons my app by an order of magnitude in size.
There has got to be a better way. Any ideas???
UPDATE: The closest example code to what I am doing I can find is Apple's TileMap sample from WWDC 2010. Their code suffers from the same problem - if you are zoomed in "too far" the map overlay is not displayed.