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
Solved! Go to Solution.
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...
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...