tileLevels property
List<PanoramaTileLevel>
get
tileLevels
The tileLevels is a set of the TileLevel structs. Tile levels can be added in any order. It's recommended to have at least 2 tile levels:
- low quality zoom. For example 512x200 - high quality zoom. For axample 20480x8000
It can be useful to have several tile levels for huge images to save network traffic and reduce memory and power consumption. So the final tile levels list may look like that: level, width, height 0, 512, 200 1, 2048, 800 2, 5120, 2000 6, 10240, 4000 9, 20480, 8000
Player takes into account the view area size and available tile levels and downloads the most suitable level.
The tileLevels[i] aspect ratio must be the same. At first low quality zoom is loaded. Once it's done, the panorama player notifies that the panorama is opened and starts loading high quality zoom tiles.
Implementation
core.List<PanoramaTileLevel> get tileLevels;