This section provides more background about Nearmap’s Panorama Tile Interface.
There is complexity involved in how panorama tiles are arranged, and this section serves as background information to help understand the sample code that is provided below.
Nearmap Panorama imagery is an orthorectified mosaic. Because it is created by combining many images, metadata that is normally associated with oblique imagery (such as pose and calibration), is not available. All the metadata available for panorama imagery is described under Getting a List of Surveys by Date for a Location.
|Tile Storage Width||The width of the image in pixels as it is stored.|
|Tile Storage Height||The height of the image in pixels.|
|Tile Display Width||The width of the tile as it should be displayed.|
|Tile Display Height||The height of the tile as it should be displayed in order to compensate for the foreshortening effect.|
The images accompanying each orientation below demonstrate how tiling works using the "X,Y" format. To provide compatibility for the older web-mapping frameworks, the tiles are rotated for orientations other than Vertical and North. When representing them on the screen, the client implementation should arrange the tiles according to the appropriate tiling scheme, as shown below.