Package org.geotools.mbstyle.source
Class RasterMBSource
Object
MBSource
TileMBSource
RasterMBSource
Wrapper around a
JSONObject
holding a Mapbox raser source. Tiled sources (vector and raster) must specify
their details in terms of the TileJSON specification.-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionRasterMBSource
(JSONObject json) RasterMBSource
(JSONObject json, MBObjectParser parser) -
Method Summary
Methods inherited from class TileMBSource
getMaxZoom, getMinZoom, getTiles, getUrl
-
Constructor Details
-
RasterMBSource
public RasterMBSource(JSONObject json) -
RasterMBSource
-
-
Method Details
-
getTileSize
(Optional) Units in pixels. Defaults to 512.The minimum visual size to display tiles for this layer. Only configurable for raster layers.
- Returns:
- Number for the tile size, defaulting to 512
-
getType
Description copied from class:MBSource
Type of source.
-