doogal.co.uk Home

.NET Route Directions

This is a C# wrapper around the Google Maps route directions web service. It can be used from any .NET application, but the Google terms and conditions do state

the Directions API may only be used in conjunction with displaying results on a Google map; using Directions data without displaying a map for which directions data was requested is prohibited

Download sourceDownload the source code (uses Visual Studio 2010).
Download assemblyDownload the assembly (requires .NET Framework 2.0).

Read documentationRead the documentation.

Example usage is as follows

  Route route = RouteDirections.GetRoute(false,
          new Location("Preston, UK"),
          new Location("Darwen, UK"),
          new Location("Lancaster, UK"),
          new Location("Burnley, UK"),
          new Location("Blackpool, UK"),
          new Location("Morecambe, UK"));

Change History

1.0.0.1 - Initial release





blog comments powered by Disqus