I want to identify the clicked Graphic object on a MapGraphicsView. However the old method is deprecated, could you give me an example of the new method?
Solved! Go to Solution.
Hi @FatmaAkdemir. That signal goes along with the older and also deprecated
The replacement for all our deprecated TaskWatcher async methods are the newer QFuture versions, which do not require any signal to connect to.
https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-geoview.html#identifyGraphicsO... (or its overload).
Here is a blog to covers porting from the older async patter to the newer one.
There are some examples in our samples repo that should help to get you started as well: https://github.com/search?q=repo%3AEsri%2Farcgis-maps-sdk-samples-qt+identifyGraphicsOverlayAsync&ty...
Hi @FatmaAkdemir. That signal goes along with the older and also deprecated
The replacement for all our deprecated TaskWatcher async methods are the newer QFuture versions, which do not require any signal to connect to.
https://developers.arcgis.com/qt/cpp/api-reference/esri-arcgisruntime-geoview.html#identifyGraphicsO... (or its overload).
Here is a blog to covers porting from the older async patter to the newer one.
There are some examples in our samples repo that should help to get you started as well: https://github.com/search?q=repo%3AEsri%2Farcgis-maps-sdk-samples-qt+identifyGraphicsOverlayAsync&ty...
Thank you very much ! @JamesBallard1 Can I ask you one more question? We need something like a track trajectory, or track history, is there a feature or a class providing this?
You might benefit from checking out some of these samples:
They use things like simulated data sources and location tracking, which may be what you're looking for.