1. First step is to obtain a Bing Maps Key from the Bing Maps Portal. This Key is a unique identifier that is used to authenticate your application’s requests to the Bing Maps services.
5. One of the functionalities we want to have is the ability to get the user’s current location and display it on the map. To do this, we use the Geolocator class which provides access to the current geographic location. Note that this functionality requires the location capability to be turned on under the app package manifest.
6. Next step is to add the routing logic. The GetRoute function makes use of the Directions Module, which contains methods for calculating directions and displaying a route on a map.
7. Running the app …
The sample code is included in this blog post.