public class TorqueTileDecoder extends VectorTileDecoder
swigCMemOwn| Constructor and Description |
|---|
TorqueTileDecoder(CartoCSSStyleSet styleSet)
Constructs a new TorqueTileDecoder given style.
|
TorqueTileDecoder(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
static long |
getCPtr(TorqueTileDecoder obj) |
int |
getFrameCount()
Returns the frame count defined in the Torque style.
|
int |
getMaxZoom()
Returns maximum zoom level supported for by the decoder (or style).
|
int |
getMinZoom()
Returns minimum zoom level supported for by the decoder (or style).
|
int |
getResolution()
Returns the tile resolution, in pixels.
|
CartoCSSStyleSet |
getStyleSet()
Returns the current style set used by the decoder.
|
void |
setResolution(int resolution)
Sets the tile resolution in pixels.
|
void |
setStyleSet(CartoCSSStyleSet styleSet)
Sets the current style set used by the decoder.
|
static TorqueTileDecoder |
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.
|
equals, getCPtr, hashCode, notifyDecoderChangedpublic TorqueTileDecoder(long cPtr,
boolean cMemoryOwn)
public TorqueTileDecoder(CartoCSSStyleSet styleSet)
styleSet - The style set used by decoder.public static long getCPtr(TorqueTileDecoder obj)
protected void finalize()
finalize in class VectorTileDecoderpublic void delete()
delete in class VectorTileDecoderpublic static TorqueTileDecoder swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public int getFrameCount()
public CartoCSSStyleSet getStyleSet()
public void setStyleSet(CartoCSSStyleSet styleSet)
styleSet - The new style set to use.public int getResolution()
public void setResolution(int resolution)
resolution - The new resolution value.public int getMinZoom()
VectorTileDecodergetMinZoom in class VectorTileDecoderpublic int getMaxZoom()
VectorTileDecodergetMaxZoom in class VectorTileDecoderpublic java.lang.String swigGetClassName()
swigGetClassName in class VectorTileDecoderpublic java.lang.Object swigGetDirectorObject()
swigGetDirectorObject in class VectorTileDecoder