MSFTileFormat

Objective-C

enum MSFTileFormat : NSInteger {}

Swift

enum MSFTileFormat : Int, @unchecked Sendable

Supported binary vector tile formats.

  • Detect the format from the tile data. The two are unambiguous in practice, but set the format explicitly when the source is known - it skips the check and cannot be fooled.

    Declaration

    Objective-C

    MSF_TILE_FORMAT_AUTO

    Swift

    case TILE_FORMAT_AUTO = 0
  • MapBox Vector Tile, the protobuf format.

    Declaration

    Objective-C

    MSF_TILE_FORMAT_MVT

    Swift

    case TILE_FORMAT_MVT = 1
  • MapLibre Tile, the columnar format. Smaller tiles and faster decoding, but the whole tile is decoded at once - MVT decodes only the layers and attributes the style asks for.

    Declaration

    Objective-C

    MSF_TILE_FORMAT_MLT

    Swift

    case TILE_FORMAT_MLT = 2