In this section, we will be taking a look at how to work with and integrate mapping capabilities for our TrackMyWalks application. We will learn how to add the NuGet package in Xamarin.Forms.Maps to our shared-code project.
The main purpose of the Xamarin.Forms.Maps control is to allow you to display a map inside your Xamarin.Forms application or within a ContentPage. You can see a map of your current location, add pin placeholders within the map, and also provide a route between two locations.
Let's take a look at how we can achieve this by following these steps:
- Right-click on the TrackMyWalks solution and choose the Add Packages... menu option, as shown in the following screenshot: