Hi i want to calculate distance betweeen 2 coordinates returned one after other to calculate distance between them.
I found distanceTo() function , but didn't get any example. how to use it
There is the GeometryEngine distance method and the distanceGeodetic method. Distance will give you simple planar distance and distanceGeodetic will give you a more accurate distance - GeometryEngine QML Type | ArcGIS for Developers
Here is an example arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_QMLSamples/Geometry/GeodesicOperations at master · Esri/arcgis-runtime-samp…
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.