GPKGGeoPackageTile

Objective-C

@interface GPKGGeoPackageTile : NSObject

Swift

class GPKGGeoPackageTile : NSObject

GeoPackage tile wrapper containing tile dimensions and raw image data

  • Tile width

    Declaration

    Objective-C

    @property (nonatomic) int width;

    Swift

    var width: Int32 { get set }
  • Tile height

    Declaration

    Objective-C

    @property (nonatomic) int height;

    Swift

    var height: Int32 { get set }
  • Image data

    Declaration

    Objective-C

    @property (nonatomic, strong) NSData *data;

    Swift

    var data: Data! { get set }
  • Initialize

    Declaration

    Objective-C

    - (instancetype)initWithWidth:(int)width
                        andHeight:(int)height
                          andData:(NSData *)tileData;

    Swift

    init!(width: Int32, andHeight height: Int32, andData tileData: Data!)

    Parameters

    width

    tile width

    height

    tile height

    tileData

    tile data

    Return Value

    new instance