A Layer that displays dynamic entity observations from real-time services. More...
Member Function Documentation[explicit]
DynamicEntityLayer::DynamicEntityLayer(Esri::ArcGISRuntime::DynamicEntityDataSource *dataSource, QObject *parent = nullptr)
Creates a new dynamic entity layer from a DynamicEntityDataSource.
[explicit, since Esri::ArcGISRuntime 200.6]
DynamicEntityLayer::DynamicEntityLayer(Esri::ArcGISRuntime::PortalItem *portalItem, QObject *parent = nullptr)
Creates a new dynamic entity layer object from a stream service portal item.
The item's type must be PortalItemType::Feed or PortalItemType::StreamService.
This function was introduced in Esri::ArcGISRuntime 200.6.
See also PortalItem, PortalItem::PortalItem(const QUrl&, QObject*), and Layer::item.
[override virtual noexcept]
DynamicEntityLayer::~DynamicEntityLayer()
Destructor.
void DynamicEntityLayer::clearSelection()Clears all selected dynamic entity observations.
Use this method to clear the list of selected DynamicEntity and DynamicEntityObservation objects and clear the visible selection halos from the map or scene view.
Esri::ArcGISRuntime::DynamicEntityDataSource *DynamicEntityLayer::dataSource() constReturns the dynamic entity data source.
bool DynamicEntityLayer::isLabelsEnabled() constReturns true
if labels should be displayed, false
otherwise.
Dynamic entity layer supports labeling only on the latest observation of a track.
[override virtual]
bool DynamicEntityLayer::isPopupEnabled() const
Reimplements: PopupSource::isPopupEnabled() const.
Returns a flag indicating whether the PopupDefinition defined on the PopupSource is enable / disable.
Esri::ArcGISRuntime::LabelDefinitionListModel *DynamicEntityLayer::labelDefinitions() constReturns the collection of LabelDefinition objects for this layer.
Dynamic entity layer supports labeling only on the latest observation of a track.
[override virtual]
Esri::ArcGISRuntime::PopupDefinition *DynamicEntityLayer::popupDefinition() const
Reimplements: PopupSource::popupDefinition() const.
Returns the popup definition. The PopupDefinition associated with the popup source. A nullptr
if an error occurs or if the popup source is not associated with a popup definition.
See also setPopupDefinition().
Esri::ArcGISRuntime::Renderer *DynamicEntityLayer::renderer() constReturns the Renderer used to display the latest observation of dynamic entities.
See also setRenderer().
Esri::ArcGISRuntime::LayerSceneProperties DynamicEntityLayer::sceneProperties() constReturns the scene properties for the dynamic entity layer.
See also setSceneProperties().
void DynamicEntityLayer::selectDynamicEntities(const QList<Esri::ArcGISRuntime::DynamicEntity *> &dynamicEntities)Selects the specified dynamic entities.
Selecting a DynamicEntity does the following:
Selects the given dynamic entity and adds it to the current list of selected dynamic entities.
Selecting a DynamicEntity does the following:
Selects the given dynamic entity observation and adds it to the current list of selected observations.
Selecting a DynamicEntityObservation does the following:
Use selectDynamicEntity(Esri::ArcGISRuntime::DynamicEntity*) to achieve dynamic selection of the latest observation in a track.
void DynamicEntityLayer::selectDynamicEntityObservations(const QList<Esri::ArcGISRuntime::DynamicEntityObservation *> &dynamicEntityObservations)Selects the given dynamic entity observations and adds them to the current list of selected observations.
Selecting a DynamicEntityObservation does the following:
Use selectDynamicEntity(Esri::ArcGISRuntime::DynamicEntity*) to achieve dynamic selection of the latest observation in a track.
QList<Esri::ArcGISRuntime::DynamicEntity *> DynamicEntityLayer::selectedDynamicEntities() constReturns all selected dynamic entities.
QList<Esri::ArcGISRuntime::DynamicEntityObservation *> DynamicEntityLayer::selectedDynamicEntityObservations() constReturns all selected dynamic entity observations.
void DynamicEntityLayer::setLabelsEnabled(bool labelsEnabled)Sets the labelsEnabled to labelsEnabled.
See also isLabelsEnabled.
[override virtual]
void DynamicEntityLayer::setPopupDefinition(Esri::ArcGISRuntime::PopupDefinition *popupDefinition)
Reimplements: PopupSource::setPopupDefinition(Esri::ArcGISRuntime::PopupDefinition *popupDefinition).
Sets the popupDefinition to popupDefinition.
See also popupDefinition.
[override virtual]
void DynamicEntityLayer::setPopupEnabled(bool popupEnabled)
Reimplements: PopupSource::setPopupEnabled(bool popupEnabled).
Sets the popupEnabled to popupEnabled.
See also isPopupEnabled.
void DynamicEntityLayer::setRenderer(Esri::ArcGISRuntime::Renderer *renderer)Sets the renderer to renderer.
See also renderer.
void DynamicEntityLayer::setSceneProperties(const Esri::ArcGISRuntime::LayerSceneProperties &sceneProperties)Sets the sceneProperties to sceneProperties.
See also sceneProperties.
Esri::ArcGISRuntime::TrackDisplayProperties *DynamicEntityLayer::trackDisplayProperties() constReturns the track display properties.
TrackDisplayProperties allow you to control the display of previous observations in a track by setting a maximum number of observations to show, displaying a line that connects them (track line), and applying renderers to the observations and/or track line.
void DynamicEntityLayer::unselectDynamicEntities(const QList<Esri::ArcGISRuntime::DynamicEntity *> &dynamicEntities)Unselects the specified dynamic entities and removes them from the current list of selected dynamic entities.
Unselects the given dynamic entity and removes it from the current list of selected dynamic entities.
Unselects the given dynamic entity observation and removes it from the current list of selected dynamic entity observations.
Unselects the specified dynamic entity observations and removes them from the current list of selected dynamic entity observations.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4