Class TileFormat

java.lang.Object
com.massifmaps.vectortiles.TileFormat

public final class TileFormat extends Object
Supported binary vector tile formats.
  • Field Details

    • TILE_FORMAT_AUTO

      public static final int TILE_FORMAT_AUTO
      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.
      See Also:
    • TILE_FORMAT_MVT

      public static final int TILE_FORMAT_MVT
      MapBox Vector Tile, the protobuf format.
      See Also:
    • TILE_FORMAT_MLT

      public static final int TILE_FORMAT_MLT
      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.
      See Also:
  • Constructor Details

    • TileFormat

      public TileFormat()