Hello!I am not able to do an functional example of closest facility in ios.
Someone who has solved it?
Thanks
Thank you for your question. Using the AGSClosestFaciltyTask is very similar to the other task-based APIs, such as the AGSRouteTask (routing) or the AGSLocatorTask (geocoding). Samples for those can be found in the ArcGIS Runtime Samples app for iOS: GitHub - Esri/arcgis-runtime-samples-ios: Swift samples demonstrating various capabilities of ArcGIS Runtime SDK for iOS
Specifically, for routing:
arcgis-runtime-samples-ios/FindRouteViewController.swift at master · Esri/arcgis-runtime-samples-ios · GitHub
And for geocoding:
arcgis-runtime-samples-ios/FindAddressViewController.swift at master · Esri/arcgis-runtime-samples-ios · GitHub
If those don't help, please post the code you're having problems with and I'll take a look.
Cheers,
Mark
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.