MapKit Mobile SDK

MMKPanoramaTileLevel

class MMKPanoramaTileLevel : NSObject

The TileLevel struct.

Summary

Class methods

 init(level: UInt, imageSize: MMKPanoramaImageSize)

Properties

var level: UInt { get }
level is passed as a parameter to the TileImageFactory or to the TileUrlProvider

var imageSizeMMKPanoramaImageSize { get }
Source image size

Class methods

init(level:imageSize:)

 init(level: UInt, imageSize: MMKPanoramaImageSize)


Properties

level

var level: UInt { get }

level is passed as a parameter to the TileImageFactory or to the TileUrlProvider. Each panorama description tile level must have unique value.


imageSize

var imageSize: MMKPanoramaImageSize { get }

Source image size. The imageSize width must be multiples of the tileSize width. The imageSize height must be in range [1..imageSize.width/2]