Class VectorMBSource

Object
MBSource
TileMBSource
VectorMBSource

public class VectorMBSource extends TileMBSource
Wrapper around a JSONObject holding a Mapbox vectorsource. Tiled sources (vector and raster) must specify their details in terms of the TileJSON specification.
See Also:
  • Constructor Details

    • VectorMBSource

      public VectorMBSource(JSONObject json)
    • VectorMBSource

      public VectorMBSource(JSONObject json, MBObjectParser parser)
  • Method Details

    • getType

      public String getType()
      Description copied from class: MBSource
      Type of source.
      Specified by:
      getType in class MBSource
      Returns:
      One of "vector", "raster", "geojson", "image", "video", "canvas".