public class RasterDemSource extends Source
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TILE_SIZE |
Constructor and Description |
---|
RasterDemSource(String id,
String uri)
Create the raster dem source from an URI
|
RasterDemSource(String id,
String uri,
int tileSize)
Create the raster source from an URL with a specific tile size
|
RasterDemSource(String id,
TileSet tileSet)
Create the raster dem source from a
TileSet |
RasterDemSource(String id,
TileSet tileSet,
int tileSize)
Create the raster source from a
TileSet with a specific tile size |
RasterDemSource(String id,
URI uri)
Create the raster dem source from an URI.
|
RasterDemSource(String id,
URL url)
Deprecated.
use
RasterDemSource(String, URI) instead |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
String |
getUri()
Get the source URI.
|
String |
getUrl()
Deprecated.
use
getUri() instead |
protected void |
initialize(String layerId,
Object payload,
int tileSize) |
protected String |
nativeGetUrl() |
checkThread, getAttribution, getId, getNativePtr, nativeGetAttribution, nativeGetId, setDetached
public static final int DEFAULT_TILE_SIZE
@Deprecated public RasterDemSource(String id, URL url)
RasterDemSource(String, URI)
insteadid
- the source idurl
- the source urlpublic RasterDemSource(String id, 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(String id, 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(String id, 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(String id, TileSet tileSet)
TileSet
id
- the source idtileSet
- the TileSet
© 2015–2019 Mapbox. All rights reserved.