public class RasterSource extends Source
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_TILE_SIZE |
| Constructor and Description |
|---|
RasterSource(java.lang.String id,
java.lang.String uri)
Create the raster source from an URI.
|
RasterSource(java.lang.String id,
java.lang.String uri,
int tileSize)
Create the raster source from an URI with a specific tile size.
|
RasterSource(java.lang.String id,
TileSet tileSet)
Create the raster source from a
TileSet |
RasterSource(java.lang.String id,
TileSet tileSet,
int tileSize)
Create the raster source from a
TileSet with a specific tile size |
RasterSource(java.lang.String id,
java.net.URI uri)
Create the raster source from an URI.
|
RasterSource(java.lang.String id,
java.net.URL url)
Deprecated.
use
RasterSource(String, URI) instead |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
java.lang.String |
getUri()
Get the source URI.
|
java.lang.String |
getUrl()
Deprecated.
use
getUri() instead |
protected void |
initialize(java.lang.String layerId,
java.lang.Object payload,
int tileSize) |
protected java.lang.String |
nativeGetUrl() |
checkThread, getAttribution, getId, getMaxOverscaleFactorForParentTiles, getMinimumTileUpdateInterval, getNativePtr, getPrefetchZoomDelta, isVolatile, nativeGetAttribution, nativeGetId, nativeGetMaxOverscaleFactorForParentTiles, nativeGetMinimumTileUpdateInterval, nativeGetPrefetchZoomDelta, nativeIsVolatile, nativeSetMaxOverscaleFactorForParentTiles, nativeSetMinimumTileUpdateInterval, nativeSetPrefetchZoomDelta, nativeSetVolatile, setDetached, setMaxOverscaleFactorForParentTiles, setMinimumTileUpdateInterval, setPrefetchZoomDelta, setVolatilepublic static final int DEFAULT_TILE_SIZE
public RasterSource(java.lang.String id,
java.net.URL url)
RasterSource(String, URI) insteadid - the source idurl - the source urlpublic RasterSource(java.lang.String id,
java.net.URI uri)
An URI is a combination of a protocol and a resource path. The following URI protocol schemes are supported:
id - the source iduri - the source uripublic RasterSource(java.lang.String id,
java.lang.String uri)
An URI is a combination of a protocol and a resource path. The following URI protocol schemes are supported:
id - the source iduri - the source uripublic RasterSource(java.lang.String id,
java.lang.String uri,
int tileSize)
An URI is a combination of a protocol and a resource path. The following URI protocol schemes are supported:
id - the source iduri - the source uritileSize - the tile sizepublic RasterSource(java.lang.String id,
TileSet tileSet)
TileSetid - the source idtileSet - the TileSet@Nullable @Deprecated public java.lang.String getUrl()
getUri() instead@Nullable public java.lang.String getUri()
protected void initialize(java.lang.String layerId,
java.lang.Object payload,
int tileSize)
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable@NonNull protected java.lang.String nativeGetUrl()