METile Class Reference

Inherits from NSObject
Declared in METileInfo.h

Overview

Describes an Altus tile.

– initWithUID:

Init with an Altus 64-bit tile ID.

- (id)initWithUID:(uint64_t)uid

Declared In

METileInfo.h

– initWithLevel:X:Y:

Init from a web mercator level/column/row ID (z/x/y). NOTE: This only works for mercator tiles, not tiles at the poles. See initWithLocation for a more general initializer.

- (id)initWithLevel:(unsigned int)level X:(unsigned int)X Y:(unsigned int)Y

Declared In

METileInfo.h

– initWithLocation:level:

Init with a geographic location and zoom level. Works for all tiles (mercator and polar). NOTE: Locations above 85.051128779806604N Latitude and below -85.051128779806604S Latitude will not have relevant Level, X, or Y properties.

- (id)initWithLocation:(CLLocationCoordinate2D)location level:(unsigned int)level

Declared In

METileInfo.h

  uid

Unqiue identifer for the tile.

@property (assign) uint64_t uid

Declared In

METileInfo.h

  region

Region in which the tile appears.

@property (assign) METileRegion region

See Also

Declared In

METileInfo.h