Metadata for a DynamicEntityDataSource. More...
| Header | #include <Dynamic |
| Since | Esri |
| Inherits | Esri |
Public Functions
| Dynamic | |
| virtual | ~ |
| QString | description() const |
| QString | entity |
| QList | fields() const |
| Esri | full |
| void | set |
| void | set |
| void | set |
| Esri | spatial |
Detailed Description
An object of this type must be provided by classes that derive from DynamicEntityDataSource as the return value of DynamicEntityDataSource::onLoadAsync.
Relevant samples:
- Add custom dynamic entity data source: Create a custom dynamic entity data source and display it using a dynamic entity layer.
Member Function Documentation
DynamicEntityDataSourceInfo::DynamicEntityDataSourceInfo (const QString &entityIdFieldName , const QList<Esri::ArcGISRuntime::Field > &fields, QObject *parent = nullptr)
Creates a new data source info.
- entityIdFieldName - The name of the field containing values that uniquely identify each entity. For example, the track id field with a unique identifier for each track from track-aware data, or the object id field for discrete data.
- fields - The data source's field definitions.
- parent - The optional parent QObject.
[override virtual noexcept] DynamicEntityDataSourceInfo::~DynamicEntityDataSourceInfo ()
Destructor.
QString DynamicEntityDataSourceInfo::description() const
Returns the description of the data source.
See also setDescription().
QString DynamicEntityDataSourceInfo::entityIdFieldName () const
Returns the name of the field containing values that uniquely identify each entity. For example, the track id field with a unique identifier for each track from track-aware data, or the object id field for discrete data.
QList<Esri::ArcGISRuntime::Field > DynamicEntityDataSourceInfo::fields() const
Returns the data source's field definitions.
Esri::ArcGISRuntime::Envelope DynamicEntityDataSourceInfo::fullExtent () const
Returns the full extent of the source data.
See also setFullExtent().
void DynamicEntityDataSourceInfo::setDescription (const QString &description)
Sets the description to description.
See also description.
void DynamicEntityDataSourceInfo::setFullExtent (const Esri::ArcGISRuntime::Envelope &fullExtent )
Sets the fullExtent to fullExtent.
See also fullExtent.
void DynamicEntityDataSourceInfo::setSpatialReference (const Esri::ArcGISRuntime::SpatialReference &spatialReference )
Sets the spatialReference to spatialReference.
See also spatialReference.
Esri::ArcGISRuntime::SpatialReference DynamicEntityDataSourceInfo::spatialReference () const
Returns the SpatialReference of this data source.
The default is WGS84 (4326).
See also setSpatialReference().