@UiThread public class RasterDemSource extends Source
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TILE_SIZE |
Constructor and Description |
---|
RasterDemSource(java.lang.String id,
java.lang.String uri)
Create the raster dem source from an URI
|
RasterDemSource(java.lang.String id,
java.lang.String uri,
int tileSize)
Create the raster source from an URL with a specific tile size
|
RasterDemSource(java.lang.String id,
TileSet tileSet)
Create the raster dem source from a
TileSet |
RasterDemSource(java.lang.String id,
TileSet tileSet,
int tileSize)
Create the raster source from a
TileSet with a specific tile size |
RasterDemSource(java.lang.String id,
java.net.URI uri)
Create the raster dem source from an URI.
|
RasterDemSource(java.lang.String id,
java.net.URL url)
Deprecated.
use
RasterDemSource(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, setVolatile
public static final int DEFAULT_TILE_SIZE
@Deprecated public RasterDemSource(java.lang.String id, java.net.URL url)
RasterDemSource(String, URI)
insteadid
- the source idurl
- the source urlpublic RasterDemSource(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 RasterDemSource(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 RasterDemSource(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 urltileSize
- the tile sizepublic RasterDemSource(java.lang.String id, TileSet tileSet)
TileSet
id
- the source idtileSet
- the TileSet
@Deprecated @Nullable 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.Object
java.lang.Throwable
@NonNull protected java.lang.String nativeGetUrl()