How i make a map to navigate to specific point feature (as determine the location of facility ) when click to location , the map navigate & zoom to facility on the map , may be get a spatial reference of feature .
Solved! Go to Solution.
Hisho-
I would use the findFeatures method on the FeatureLayer. This will determine feature IDs that you touched with your click event ArcGIS Runtime SDK for Qt QML API: FeatureLayer Class Reference . Then use the feature method on FeatureTable to obtain a feature from a given ID. The resulting feature will have geometry. Once you have obtained the geometry, you can call zoomTo on the map and pass in the geometry ArcGIS Runtime SDK for Qt QML API: Map Class Reference .
Thanks,
Luke
Hisho-
I would use the findFeatures method on the FeatureLayer. This will determine feature IDs that you touched with your click event ArcGIS Runtime SDK for Qt QML API: FeatureLayer Class Reference . Then use the feature method on FeatureTable to obtain a feature from a given ID. The resulting feature will have geometry. Once you have obtained the geometry, you can call zoomTo on the map and pass in the geometry ArcGIS Runtime SDK for Qt QML API: Map Class Reference .
Thanks,
Luke
Thank you