MSFPackageTileMask

Objective-C


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

Swift

class MSFPackageTileMask : NSObject

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;

    Swift

    func isEqual(_ object: Any!) -> Bool

    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;

    Swift

    func hash() -> UInt

    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;

    Swift

    func getStringValue() -> String!

    Return Value

    The tile mask of the package.

  • Returns maximum zoom level encoded in this tilemask.

    Declaration

    Objective-C

    - (int)getMaxZoomLevel;

    Swift

    func getMaxZoomLevel() -> Int32

    Return Value

    The maximum zoom level encoded in this tilemask.

  • Returns the bounding polygon of the tilemask.

    Declaration

    Objective-C

    - (MSFMultiPolygonGeometry *)getBoundingPolygon:(MSFProjection *)projection;

    Swift

    func getBoundingPolygon(_ projection: MSFProjection!) -> MSFMultiPolygonGeometry!

    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 MSFPackageTileStatus)getTileStatus:(MSFMapTile *)tile;

    Swift

    func getStatus(_ tile: MSFMapTile!) -> MSFPackageTileStatus

    Parameters

    tile

    The tile to check.

    Return Value

    The status of the specified tile.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()