Class RasterMBSource

    • Constructor Detail

      • RasterMBSource

        public RasterMBSource​(JSONObject json)
      • RasterMBSource

        public RasterMBSource​(JSONObject json,
                              MBObjectParser parser)
    • Method Detail

      • getTileSize

        public Number getTileSize()
        (Optional) Units in pixels. Defaults to 512.

        The minimum visual size to display tiles for this layer. Only configurable for raster layers.

        Number for the tile size, defaulting to 512
      • getType

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