MMKTileId

@interface MMKTileId : NSObject

The ID of a tile on the map.

Summary

Class methods

+ (nonnull MMKTileId *)tileIdWithX:( NSUInteger)x
                                 y:( NSUInteger)y
                                 z:( NSUInteger)z;

Properties

@property (nonatomic, readonly) NSUInteger x;
The number of the tile horizontally

@property (nonatomic, readonly) NSUInteger y;
The number of the tile vertically

@property (nonatomic, readonly) NSUInteger z;
The number of columns and rows to split the map into

Class methods

tileIdWithX:y:z:

+ (nonnull MMKTileId *)tileIdWithX:( NSUInteger)x
                                 y:( NSUInteger)y
                                 z:( NSUInteger)z;


Properties

x

@property (nonatomic, readonly) NSUInteger x;

The number of the tile horizontally.


y

@property (nonatomic, readonly) NSUInteger y;

The number of the tile vertically.


z

@property (nonatomic, readonly) NSUInteger z;

The number of columns and rows to split the map into.