Learn Courses My Dashboard

How to implement MapView and Contact view in a same app

I was wondering If I want to show the user contacts as well as location. What is going to be my viewModel.
Because right now I am using contactViewModel to show the user contacts . But If I also want to show the location at some point how do I implement it.

I know how to create a map view and how to ask user a permission for location but I don’t know what would be my view model.