I am using arcgis iOS sdk. I want to show route from my current location to destination location even if my internet connection is not there. Is it possible in arcgis iOS sdk? If yes could you please give me some reference code or documentation link? Thanks in advance!
Please check out the Offline routing sample. It has a very similar workflow as the online routing. The most significant difference is that the route task is created from a local file, not a URL.
There are 2 ways to create the network dataset for offline use. The recommended approach is to export a mobile map package from ArcGIS Pro with the map's area of interest and all its capabilities. Alternatively, you can construct the map yourself. For instance, create the basemap from a tile cache or tile package, and create the route task from a Network Dataset files (.geodatabase and .tn).
Routing, either online or offline, can be done with a free "Lite" license.
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.