public abstract class TileMBSource extends MBSource
JSONObject
holding a tiled Mapbox source. Tiled sources (vector and
raster) must specify their details in terms of the TileJSON specification.Constructor and Description |
---|
TileMBSource(JSONObject json) |
TileMBSource(JSONObject json,
MBObjectParser parser) |
Modifier and Type | Method and Description |
---|---|
Number |
getMaxZoom()
(Optional) Defaults to 22.
|
Number |
getMinZoom()
(Optional) Defaults to 0.
|
List<String> |
getTiles()
(Optional) An array of one or more tile source URLs, as in the TileJSON spec.
|
String |
getUrl()
(Optional) A URL to a TileJSON resource.
|
public TileMBSource(JSONObject json)
public TileMBSource(JSONObject json, MBObjectParser parser)
public String getUrl()
public List<String> getTiles()
public Number getMinZoom()
public Number getMaxZoom()
Copyright © 1996–2021 Geotools. All rights reserved.