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