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,
Looping in ArcGIS Runtime SDK for Qt, to see if anyone in this group can answer this.
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
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);
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.