Following this example: Open mobile map (map package)—ArcGIS Runtime SDK for Qt | ArcGIS for Developers
how to select features in the map?
Thank you,
Thank you Lucas,
I was trying the identify thru mapView.identifyLayersWithMaxResults, it get's the selected feature, but nothing is highlighted thru this code: featureLayer.selectFeatures(identifiedObjects);
Once you have a Map/MapView, you will use identifyLayer or identifyLayers to get features back, and then you can call selectFeature on the FeatureLayer. Here is a sample that shows this
arcgis-runtime-samples-qt/FeatureLayer_Selection.qml at master · Esri/arcgis-runtime-samples-qt · GitHub
use identifyLayer if you want to search for clicked features within a specific layer, and identifyLayers if you want to search for clicked features in any layer in the mapview
doc - GeoView QML Type | ArcGIS for Developers
Looping in ArcGIS Runtime SDK for Qt, to see if anyone in this group can answer this.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.