Важно

This feature is available in the Full MapKit SDK version

YMKPanoramaTileLevel

class YMKPanoramaTileLevel : NSObject

The TileLevel struct.

Summary

Class methods

 init(level: UInt, imageSize: YMKPanoramaImageSize)

Properties

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

var imageSizeYMKPanoramaImageSize { get }
Source image size

Class methods

init(level:imageSize:)

 init(level: UInt, imageSize: YMKPanoramaImageSize)


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: YMKPanoramaImageSize { 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]


Предыдущая
Следующая