java.lang.Object | |
↳ | com.carto.vectortiles.VectorTileDecoder |
![]() |
Abstract base class for vector tile decoders.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void |
addFallbackFont(BinaryData fontData)
Adds a fallback font.
| ||||||||||
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
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 |
hashCode()
Returns the hash value of this object.
| ||||||||||
void |
notifyDecoderChanged()
Notifies listeners that the decoder parameters have changed.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds a fallback font. The font should be TTF or OTF font. It is used for glyphs not found in style defined fonts.
fontData | The font binary. |
---|
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns maximum zoom level supported for by the decoder (or style).
Returns minimum zoom level supported for by the decoder (or style).
Returns the hash value of this object.
Notifies listeners that the decoder parameters have changed. Action taken depends on the implementation of the
listeners, but generally all cached tiles will be reloaded.