MMKPanoramaTileLevel

@interface MMKPanoramaTileLevel : NSObject

The TileLevel struct.

Summary

Class methods

+ (nonnull MMKPanoramaTileLevel *)tileLevelWithLevel:( NSUInteger)level
                                           imageSize:(nonnull MMKPanoramaImageSize *)imageSize;

Properties

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

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

Class methods

tileLevelWithLevel:imageSize:

+ (nonnull MMKPanoramaTileLevel *)tileLevelWithLevel:( NSUInteger)level
                                           imageSize:(nonnull MMKPanoramaImageSize *)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) MMKPanoramaImageSize *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]