public class CustomVectorTileDecoder extends VectorTileDecoder
swigCMemOwn
构造器和说明 |
---|
CustomVectorTileDecoder()
Constructs a decoder for MapBox vector tiles based on specified compiled style set.
|
CustomVectorTileDecoder(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
boolean |
equals(java.lang.Object obj)
Checks if this object is equal to the specified object.
|
protected void |
finalize() |
float |
getBuffering()
Returns the value of tile buffering used.
|
static long |
getCPtr(CustomVectorTileDecoder obj) |
java.lang.String |
getLayerNameOverride()
Returns the vector tile 'layer name override'.
|
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).
|
java.lang.String |
getStyleParameter(java.lang.String param)
Returns the value of the specified style parameter.
|
StringVector |
getStyleParameters()
Returns the list of all available style parameters.
|
int |
hashCode()
Returns the hash value of this object.
|
boolean |
isFeatureIdOverride()
Returns the value of feature id override flag.
|
void |
setBuffering(float buffer)
Sets the tile buffering factor.
|
void |
setFeatureIdOverride(boolean idOverride)
Sets the value of feature id override flag.
|
void |
setLayerNameOverride(java.lang.String name)
Sets the 'layer name override' value.
|
boolean |
setStyleParameter(java.lang.String param,
java.lang.String value)
Sets the value of the specified parameter.
|
static CustomVectorTileDecoder |
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.
|
getCPtr, notifyDecoderChanged
public CustomVectorTileDecoder(long cPtr, boolean cMemoryOwn)
public CustomVectorTileDecoder()
java.lang.Exception
- If the decoder could not be created or there are issues with the style set.public static long getCPtr(CustomVectorTileDecoder obj)
protected void finalize()
finalize
在类中 VectorTileDecoder
public void delete()
delete
在类中 VectorTileDecoder
public static CustomVectorTileDecoder swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public boolean equals(java.lang.Object obj)
equals
在类中 VectorTileDecoder
obj
- The reference object.public int hashCode()
hashCode
在类中 VectorTileDecoder
public StringVector getStyleParameters()
public java.lang.String getStyleParameter(java.lang.String param)
param
- The parameter to return.java.lang.IllegalArgumentException
- If the style parameter does not exist.public boolean setStyleParameter(java.lang.String param, java.lang.String value)
param
- The parameter to set.value
- The value for the parameter.public float getBuffering()
public void setBuffering(float buffer)
buffer
- The amount of buffering to use. It is based on normalized tile coordinates (tile width=1.0), so 1.0/64.0 is a sensible value. The default is 0.public boolean isFeatureIdOverride()
public void setFeatureIdOverride(boolean idOverride)
idOverride
- The value of the flag.public java.lang.String getLayerNameOverride()
public void setLayerNameOverride(java.lang.String name)
name
- The new 'layer name override' value. If empty, override is not used.public int getMinZoom()
VectorTileDecoder
getMinZoom
在类中 VectorTileDecoder
public int getMaxZoom()
VectorTileDecoder
getMaxZoom
在类中 VectorTileDecoder
public java.lang.String swigGetClassName()
swigGetClassName
在类中 VectorTileDecoder
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 VectorTileDecoder