Topic: OnlineMapsTile.tiles doesn't contain tiles for all zoom levels
Currently I'm using Maptiler tiles just stored in the Resources folder and looping over each tile in OnlineMapTile.tiles but I noticed that it only contains a limited amount of zoom levels. In my application I have zoom levels that range from 14-20 and the default upon starting the application is 16, but then I noticed when debugging that OnlineMapTile.tiles only is storing 12-16 until zooming in further.
Is there a way to make sure OnlineMapTile.tiles has all zoom levels 14-20 without zooming in so that all zoom levels will be replaced with with the Maptiler overlay.
Example of what some of the code looks like:
foreach(OnlineMapsTile nextTile in OnlineMapsTile.tiles){
nextTile.overlayBackTexture = Resources.Load<Texture2D>(string.Format("OnlineMapsTiles/" + floorNum + "/{0}/{1}/{2}",
nextTile.zoom, nextTile.x, nextTile.y));
}
Any help would be much appreciated. It may be that I'm just going about this the wrong way.