NTPackageTileMask


@interface NTPackageTileMask : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Tile mask contains map package spatial coverage information and can be used for very fast ‘tile in package’ tests.

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Return Value

    The hash value of this object.

  • Returns the encoded tile mask value. This should not be displayed to the user.

    Declaration

    Objective-C

    - (NSString *)getStringValue;

    Return Value

    The tile mask of the package.

  • Returns maximum zoom level encoded in this tilemask.

    Declaration

    Objective-C

    - (int)getMaxZoomLevel;

    Return Value

    The maximum zoom level encoded in this tilemask.

  • Returns the bounding polygon of the tilemask.

    Declaration

    Objective-C

    - (NTMultiPolygonGeometry *)getBoundingPolygon:(NTProjection *)projection;

    Parameters

    projection

    The projection to use.

    Return Value

    The bounding polygon of the tilemask area.

  • Returns the status of the specified tile. This method can be used for fast testing whether a tile is part of the package.

    Declaration

    Objective-C

    - (enum NTPackageTileStatus)getTileStatus:(NTMapTile *)tile;

    Parameters

    tile

    The tile to check.

    Return Value

    The status of the specified tile.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;