NTTorqueTileLayer
@interface NTTorqueTileLayer : NTVectorTileLayer
A vector tile layer for rendering time-based animated point clouds.
-
Constructs a new TorqueTileLayer object from a data source and decoder.
Declaration
Objective-C
- (id)initWithDataSource:(NTTileDataSource *)dataSource decoder:(NTTorqueTileDecoder *)decoder;
Parameters
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.
Declaration
Objective-C
- (int)countVisibleFeatures:(int)frameNr;
Parameters
frameNr
The frame number to use.
Return Value
The number of visible feature at the specified frame. If the frame is missing, 0 is returned.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;