MSFMapTile
Objective-C
@interface MSFMapTile : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFMapTile : NSObject
An immutable map tile, used by tile layers for representing small pieces of map at different zoom levels and coordinates.
-
Checks if this object is equal to the specified object.
Declaration
Objective-C
- (BOOL)isEqual:(id)object;Swift
func isEqual(_ object: Any!) -> BoolParameters
objectThe reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;Swift
func hash() -> UIntReturn Value
The hash value of this object.
-
Constructs an empty MapTile object.
Declaration
Objective-C
- (id)init;Swift
init!() -
Constructs a MapTile object based on coordinates, zoom level and frame number.
Declaration
Objective-C
- (id)initWithX:(int)x y:(int)y zoom:(int)zoom frameNr:(int)frameNr;Swift
init!(x: Int32, y: Int32, zoom: Int32, frameNr: Int32)Parameters
xThe x coordinate of the tile.
yThe y coordinate of the tile.
zoomThe zoom level of the tile.
frameNrThe frame number of the tile.
-
Returns the x coordinate of this map tile.
Declaration
Objective-C
- (int)getX;Swift
func getX() -> Int32Return Value
The x coordinate of this map tile.
-
Returns the y coordinate of this map tile.
Declaration
Objective-C
- (int)getY;Swift
func getY() -> Int32Return Value
The y coordinate of this map tile.
-
Returns the zoom level of this map tile.
Declaration
Objective-C
- (int)getZoom;Swift
func getZoom() -> Int32Return Value
The zoom level of this map tile.
-
Returns the time of this map tile.
Declaration
Objective-C
- (int)getFrameNr;Swift
func getFrameNr() -> Int32Return Value
The time of this map tile.
-
Returns the internal tile id of this map tile.
Declaration
Objective-C
- (long long)getTileId;Swift
func getId() -> Int64Return Value
The internal tile id of this map tile.
-
Checks for equality between this and another map tile.
Declaration
Objective-C
- (BOOL)isEqualInternal:(MSFMapTile *)tile;Swift
func isEqualInternal(_ tile: MSFMapTile!) -> BoolParameters
tileThe other map tile.
Return Value
True if equal.
-
Returns the hash value of this object.
Declaration
Objective-C
- (int)hashInternal;Swift
func hashInternal() -> Int32Return Value
The hash value of this object.
-
Creates a string representation of this map tile, useful for logging.
Declaration
Objective-C
- (NSString *)description;Swift
func description() -> String!Return Value
The string representation of this map tile.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()