Hello,
I'm working on upgrading our existing application from esri 100.15 to 200.4. Currently I'm working on implementing a MapView that can solve a simple route, display it graphically, track the users progress, give directions, and reroute them if needed. The map and route task will be either from esri online services or from an mmpk depending on the users settings. I'm simulating my location / movement using a gpx file.
When using the online map / routing service everything is working as desired. (except the ability to reroute which seems to be unsupported by the service. Is this an esri online account setting that can be configured?)
When using a map / transportation network dataset from an mmpk pretty much everything is done the same way besides loading the offline map and creating the route task using a TransportationNetworkDataSet.
In this case however I can only solve the route and display the initial route from the RouteResult.
After the initial solve I create the RouteTracker, use it to create a RouteTrackerLocationDataSource, set the maps locationDisplay.datasource equal to it, and start the datasource.
I've verified that it's status is started however with the offline map the location is always nil and the RouteTracker trackingStatus is not getting any updates.
I've tried a few different mmpks and got the same result in both.
Are there any settings that I need to change specifically for offline maps to work with the route tracker?
Any guidance would be appreciated.