Skip to content

Latest commit

 

History

History
 
 

README.md

Demo: Turn-by-Turn Routing

Required version: ArcGIS Runtime SDK 10.2.4 for .NET

Sample app that shows how to write a turn-by-turn routing application using the ArcGIS Runtime SDK for Windows Store, Windows Phone and Windows Desktop (WPF) apps. The app uses MVVM patterns and shares the services, models and viewmodels between all platforms through a shared project, but uses individual views tailored for the experience on the specific device.

When the app is run in debug mode, it uses a Route Location Simulator to simulate driving from your current location to the destination entered. When running the app in release mode, the system's built-in location driver is used.

Notable classes:

  • RouteLocationSimulator.cs - A custom location provider for simulating driving along a route.
  • RestoreAutoPanMode.cs - Restores the AutoPanMode of the map back to "Navigation" when the map hasn't be touched for a number of seconds - this allows the user to pan and zoom the map, and automatically go back into driving mode.

[](Esri Tags: ArcGIS API WinStore WinRT WPF WinPhone Routing Navigation C# CSharp) [](Esri Language: DotNet)