The @ud-viz/widget_extenstions_3d_tiles_temporal
package provides extensions for managing temporal aspects of 3D Tiles layers in iTowns, including features like selecting dates and displaying temporal data.
You can install the package via npm:
npm install @ud-viz/widget_extenstions_3d_tiles_temporal
Features:
- Date Selector: Allows users to select a C3DTilesLayer and choose a date from a dropdown menu, display visualization of temporal data associated with 3D Tiles layers.
Implementation:
import * as itowns from 'itowns';
import { DateSelector } from '@ud-viz/widget_extenstions_3d_tiles_temporal';
// Create extent
const extent = new itowns.Extent(
... // name,
... // west),
... // east),
... // south),
... // north)
);
// Create an iTowns view
const view = new itowns.PlanarView(document.getElementById('viewerDiv'), extent);
// Initialize the DateSelector widget
const dateSelector = new DateSelector(view, options);
// Add the widget to a parent element
document.getElementById('parentElementId').appendChild(dateSelector.domElement);
You can see an implementation here
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests on the GitHub repository. See Contributing.md.
This package is licensed under the GNU Lesser General Public License Version 2.1, with copyright attributed to the University of Lyon.
@ud-viz/widget_extensions_3d_tiles_temporal
is developed and maintained by VCityTeam. See Contributors.md.