Adding Google Maps to Unity

A free method of dynamically updating a unity UI element with static map tiles using the Google Maps API

unity,google maps,api

There are various options for adding Google Maps to Unity in the Asset Store. Most of them are paid options (or are dependent on other assets which cost money), and most of them seem to focus on adding the maps to a game object, and not a UI component. I wanted a free, simple option which does nothing more than render static map tiles in my Unity UI. This is a quick video tutorial on how to set that up with your own Unity Script.

Links:

Get a Google Maps API Key
Script Reference for the WWW Class in Unity Latitude and Longitude Converter The script I use in the tutorial