encoding

abstract var encoding: String?(source)

The encoding used by this source. Mapbox Vector Tiles encoding is used by default. Defaults to "mvt".

  • "mvt": Mapbox Vector Tiles. See http://github.com/mapbox/vector-tile-spec for more info.

  • "mlt": MapLibre Vector Tiles. See https://github.com/maplibre/maplibre-tile-spec for more info.