Warning

This feature is available in the Full MapKit SDK version

YMKPanoramaTileLevel

@interface YMKPanoramaTileLevel : NSObject

The TileLevel struct.

Summary

Class methods

+ (nonnull YMKPanoramaTileLevel *)tileLevelWithLevel:( NSUInteger)level
                                           imageSize:(nonnull YMKPanoramaImageSize *)imageSize;

Properties

@property (nonatomic, readonly) NSUInteger level;
level is passed as a parameter to the TileImageFactory or to the TileUrlProvider

@property (nonatomic, readonly, nonnull) YMKPanoramaImageSize *imageSize;
Source image size

Class methods

tileLevelWithLevel:imageSize:

+ (nonnull YMKPanoramaTileLevel *)tileLevelWithLevel:( NSUInteger)level
                                           imageSize:(nonnull YMKPanoramaImageSize *)imageSize;


Properties

level

@property (nonatomic, readonly) NSUInteger level;

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


imageSize

@property (nonatomic, readonly, nonnull) YMKPanoramaImageSize *imageSize;

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