flywave-3dtile-datasource.tilerenderdatasource
Home > @flywave/flywave-3dtile-datasource > TileRenderDataSource
TileRenderDataSource class
A DataSource implementation for rendering 3D Tiles datasets in flywave.gl
This class integrates the 3D Tiles renderer with flywave.gl's MapView system, providing seamless loading and rendering of 3D Tiles content with support for styling, animation, and interaction.
The data source handles: - Loading and parsing of 3D Tiles tilesets - Integration with flywave.gl's theme system for styling - Batch rendering for efficient visualization of large datasets - Raycasting and picking for user interaction - Animation effects for batched features
Signature:
export declare class TileRenderDataSource extends DataSource
Extends: DataSource
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates a new TileRenderDataSource instance |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| BatchAnimation | Gets the batch animation configuration | |
| Gets the 3D Tiles renderer instance |
Methods
Method | Modifiers | Description |
|---|---|---|
Add a new style to the style set. | ||
Called when the data source is attached to a MapView | ||
Called when the data source is attached to a MapView | ||
Called when the data source is detached from a MapView | ||
Disposes of the data source and cleans up resources | ||
Gets the geographic extent of the tileset | ||
Get the root tile of the tileset | ||
Gets a tile for the given tile key Note: 3D Tiles uses its own tile management system, so this method returns undefined as tiles are managed internally by the TilesRenderer. | ||
Returns the tiling scheme used by this data source | ||
Intersects map objects at the given screen coordinates | ||
Performs raycasting for picking operations | ||
Returns whether the data source is ready to provide tiles | ||
Remove style by its identifier. | ||
Requests an update of the MapView | ||
Apply the theme to this data source. This method integrates with flywave.gl's theme system to support declarative styling of 3D Tiles content. | ||
Sets the theme from the base theme. This method is used to set the theme from the base theme. | ||
Sets the visibility of the 3D Tiles content | ||
Update style properties by its identifier. |