MMKPanoramaTileLevel
@interface MMKPanoramaTileLevel : NSObject |
The TileLevel struct.
Summary
Class methods
+ (nonnull MMKPanoramaTileLevel *)tileLevelWithLevel:( NSUInteger)level |
Properties
@property (nonatomic, readonly) NSUInteger level; |
@property (nonatomic, readonly, nonnull) MMKPanoramaImageSize *imageSize; |
Class methods
tileLevelWithLevel:imageSize:
+ (nonnull MMKPanoramaTileLevel *)tileLevelWithLevel:( NSUInteger)level |
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]