GpxDataSource
A DataSource which processes the GPS Exchange Format (GPX).
const viewer = new Viewer('cesiumContainer');
viewer.dataSources.add(GpxDataSource.load('../../SampleData/track.gpx'));
See also
Types
Properties
Gets an event that will be raised when the underlying data changes.
Gets the clock settings defined by the loaded GPX. This represents the total availability interval for all time-dynamic data. If the GPX does not contain time-dynamic data, this value is undefined.
Gets or sets the clustering options for this data source. This object can be shared between multiple data sources.
Gets the collection of Entity instances.
Gets an event that will be raised if an error is encountered during processing.
Gets an event that will be raised when the data source either starts or stops loading.
Functions
Asynchronously loads the provided GPX data, replacing any existing data.
Updates the data source to the provided time. This function is optional and is not required to be implemented. It is provided for data sources which retrieve data based on the current animation time or scene state. If implemented, update will be called by DataSourceDisplay once a frame.