Posts

Showing posts with the label RouteServiceClient

Windows Phone 7 - Jogging Application Part 2

Image
In an earlier blog , I produced a very basic application for Windows Phone 7 that allowed joggers to track their progress of a training session on a Bing Map. The application simply plotted a map polyline whenever there was a change in the device’s location, with the changes in the devices location being raised as events by the GeoCoordinateWatcher class, which is part of the Windows Phone 7 API. Now although the user’s training session was plotted on the map, with the start and end points being identified with pushpins on the map, the application didn’t indicate to the user the total distance travelled, so to obtain this I decided to use the Route Service, which is one of the Bing Maps Web Services. Route Service As the name suggests, the route service is an API used to calculate routes between designated start and end points. In order to use the Route service, a service reference to http://dev.virtualearth.net/webservices/v1/routeservice/routeservice.svc?wsdl needs to b...