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 .
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
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.