Maps

Using Maps with Xamarin.Android

PDF for offline use:
Sample Code:
Related Articles:
Related SDKs:

Let us know how you feel about this.


0/250
Thanks for the feedback!

This article discusses how to use maps and location with Xamarin.Android. It covers everything from leveraging the built-in maps application to using the Google Maps Android API V2 directly.

Overview

Mapping technologies are a ubiquitous complement to mobile devices. Desktop computers and laptops don't tend to have location awareness built-in. On the other hand, mobile devices use such applications to locate devices and to display changing location information. Android has powerful, built-in technology that displays location data on maps using location hardware that may be available on the device. This article covers a spectrum of what the maps applications under Xamarin.Android have to offer, including:

  • Using the built-in maps application to quickly add mapping functionality.
  • Working with the Maps API to control a map's display.
  • Using a variety of techniques to add graphical overlays.

Sections

Part 1 - Maps Application

Part 2 - Maps API

Summary

This article covered a wide range of mapping features. First, it showed how to leverage Android's built-in maps application and how to display a panoramic street view of a location. Then it discussed how to use the Maps API to incorporate mapping features directly within an application, covering both how to control the position and display of a map, as well as how to add graphical overlays.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.