Skip to content

Commit

Permalink
updating for VS19 and removing BOM
Browse files Browse the repository at this point in the history
  • Loading branch information
stevewhims committed Apr 11, 2019
1 parent af8a3fa commit cec3041
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
@@ -1,4 +1,4 @@
---
---
topic: sample
languages:
- csharp
Expand All @@ -17,7 +17,7 @@ statusNotificationTargets:

A mini-app for commuters to track drive times to various locations. The user adds frequently-visited destinations
using app-bar buttons or by tapping and holding on the map. Traffic App then provides a quick view into how long
it will take to drive to each place from the users current location, following the fastest route. The user can
it will take to drive to each place from the user's current location, following the fastest route. The user can
also flag a particular destination and a background task will periodically monitor traffic to that location,
alerting the user when traffic is adding ten minutes or more to the travel time.

Expand All @@ -43,7 +43,11 @@ Traffic App highlights the following APIs:

## Universal Windows Platform development

This sample requires [Visual Studio 2017 and the latest version of the Windows 10 SDK](http://go.microsoft.com/fwlink/?LinkID=280676). You can use the free Visual Studio Community Edition to build and run Windows Universal Platform (UWP) apps.
### Prerequisites

- Windows 10. Minimum: Windows 10, version 1809 (10.0; Build 17763), also known as the Windows 10 October 2018 Update.
- [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-10-sdk). Minimum: Windows SDK version 10.0.17763.0 (Windows 10, version 1809).
- [Visual Studio 2019](https://visualstudio.microsoft.com/downloads/) (or Visual Studio 2017). You can use the free Visual Studio Community Edition to build and run Windows Universal Platform (UWP) apps.

To get the latest updates to Windows and the development tools, and to help shape their development, join
the [Windows Insider Program](https://insider.windows.com).
Expand All @@ -60,10 +64,10 @@ By default, the app generates four sample locations at random positions around y

## Code at a glance

If youre just interested in code snippets for certain API and dont want to browse or run the full sample, check out the following files for examples of some highlighted features:
If you're just interested in code snippets for certain API and don't want to browse or run the full sample, check out the following files for examples of some highlighted features:

* [LocationHelper.cs](LocationHelper/LocationHelper.cs#L38)
- Getting the users current location using the [Geolocator](https://msdn.microsoft.com/library/windows/apps/windows.devices.geolocation.geolocator.aspx) class.
- Getting the user's current location using the [Geolocator](https://msdn.microsoft.com/library/windows/apps/windows.devices.geolocation.geolocator.aspx) class.
- Getting the route, travel time, and distance to a location using the [MapRouteFinder](https://msdn.microsoft.com/library/windows/apps/windows.services.maps.maproutefinder.aspx) class.
- Getting the address for a particular position using the [MapLocationFinder](https://msdn.microsoft.com/library/windows/apps/windows.services.maps.maplocationfinder.aspx) class.
- Displaying a toast notification.
Expand Down

0 comments on commit cec3041

Please sign in to comment.