GPKGTileUtils

Objective-C

@interface GPKGTileUtils : NSObject

Swift

class GPKGTileUtils : NSObject

Tile utilities and constants

  • Get the tile side (width and height) dimension based upon the screen resolution

    Declaration

    Objective-C

    + (float)tileLength;

    Swift

    class func tileLength() -> Float

    Return Value

    default tile length

  • Get the tile side (width and height) dimension based upon the scale

    Declaration

    Objective-C

    + (float)tileLengthWithScale:(float)scale;

    Swift

    class func tileLength(withScale scale: Float) -> Float

    Parameters

    scale

    resolution scale

    Return Value

    default tile length