public class VectorTileLayer extends TileLayer
swigCMemOwn
Constructor and Description |
---|
VectorTileLayer(long cPtr,
boolean cMemoryOwn) |
VectorTileLayer(TileDataSource dataSource,
VectorTileDecoder decoder)
Constructs a VectorTileLayer object from a data source and tile decoder.
|
Modifier and Type | Method and Description |
---|---|
void |
clearTileCaches(boolean all)
Clear layer tile caches.
|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(VectorTileLayer obj) |
VectorTileLabelOrder |
getLabelOrder()
Returns the current display order of the labels.
|
long |
getTileCacheCapacity()
Returns the tile cache capacity.
|
VectorTileDecoder |
getTileDecoder()
Returns the tile decoder assigned to this layer.
|
void |
setLabelOrder(VectorTileLabelOrder labelOrder)
Sets the current display order of the labels.
|
void |
setTileCacheCapacity(long capacityInBytes)
Sets the vector tile cache capacity.
|
static VectorTileLayer |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
calculateMapTile, calculateMapTileOrigin, getCPtr, getDataSource, getTileSubstitutionPolicy, getZoomLevelBias, isPreloading, isUpdateInProgress, setPreloading, setTileSubstitutionPolicy, setZoomLevelBias
equals, getCPtr, getPriority, getVisibleZoomRange, hashCode, isVisible, refresh, setPriority, setVisible, setVisibleZoomRange, update
public VectorTileLayer(long cPtr, boolean cMemoryOwn)
public VectorTileLayer(TileDataSource dataSource, VectorTileDecoder decoder)
dataSource
- The data source from which this layer loads data.decoder
- The tile decoder that decoder loaded tiles and applies styles.public static long getCPtr(VectorTileLayer obj)
public static VectorTileLayer swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public VectorTileDecoder getTileDecoder()
public long getTileCacheCapacity()
public void setTileCacheCapacity(long capacityInBytes)
public VectorTileLabelOrder getLabelOrder()
public void setLabelOrder(VectorTileLabelOrder labelOrder)
labelOrder
- The new display order of the labels.public void clearTileCaches(boolean all)
TileLayer
clearTileCaches
in class TileLayer
all
- True if all tiles should be released, otherwise only preloading (invisible) tiles are released.public java.lang.String swigGetClassName()
swigGetClassName
in class TileLayer
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class TileLayer