java.lang.Object | ||||
↳ | com.carto.layers.Layer | |||
↳ | com.carto.layers.TileLayer | |||
↳ | com.carto.layers.VectorTileLayer | |||
↳ | com.carto.layers.TorqueTileLayer |
A vector tile layer for rendering time-based animated point clouds.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TorqueTileLayer(TileDataSource dataSource, TorqueTileDecoder decoder)
Constructs a new TorqueTileLayer object from a data source and decoder.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
countVisibleFeatures(int frameNr)
Counts and returns the number of visible features (points) at the specified frame.
| ||||||||||
synchronized void | delete() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Constructs a new TorqueTileLayer object from a data source and decoder.
dataSource | The data source from which this layer loads data. |
---|---|
decoder | The tile decoder to use. |
Counts and returns the number of visible features (points) at the specified frame.
Note that this number depends on the view settings and may depend on the state of tiles. If not all tiles are loaded, the results could be off.
frameNr | The frame number to use. |
---|