Wandering Mobile

Uncategorized

Over the past few weeks i have been working on a project which required not only a mapping element but also required custom map tiles to be overlaid on the map. This is actually a really simple process using Xamarin.Forms (I haven’t added Windows Phone here but i will edit this later) which requires only a basic knowledge of custom renderers.

Create a new Forms project and add the Xamarin.Forms.Maps nuget package to the core PCL, iOS and Android projects. In the Android project you also need to set the following settings in the AndroidManifest.xml:

Access to the Network State – Maps API v2 must be able to check if it can download the map tiles.

Internet Access – Internet access is necessary to download the map tiles and communicate with the Google Play Servers for API access.