O'Reilly logo

Mastering Xamarin UI Development - Second Edition by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and implementing the CustomMapRenderer (iOS)

In this section, we will begin by creating the CustomMapRenderer class for the iOS section of our TrackMyWalks solution, which will essentially contain various instance methods that will be used by our LocationService class. The advantage of creating a CustomMapRenderer class is that it's much easier to add additional class instance methods that will be used by those ViewModels that utilize this interface.

Let's start by creating the CustomMapRenderer class for our TrackMyWalks app by performing the following steps:

  1. Ensure that the TrackMyWalks solution is open within the Visual Studio for Mac IDE.
  2. Next, right-click on the TrackMyWalks.iOS project and choose Add|New Folder from the pop-up ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required