tangram-unity icon indicating copy to clipboard operation
tangram-unity copied to clipboard

Mapzen maps for Unity3D

Tangram Unity

screenshot

Tangram Unity is a library of tools for using OpenStreetMap data in the Unity3D game engine. This repository contains the code and GUI tools along with an example scene that demonstrates how to use them.

This project uses Unity version 2019.3.0f6.

Quickstart

  1. Create a Nextzen API Key
  2. Open the example scene Assets/Scenes/RegionMapExample.unity in Unity.
  3. Select the Map Builder object in the scene and enter your API key in the "Api Key" field in the inspector.
  4. Press the Download button in the inspector and wait a few seconds for the download to complete.

The scene should now contain geometry from New York City! To learn how to customize your own map with a different style or a different location, check out these documentation pages:

  • Region Map Editor
  • Map Style Editor

Roadmap

  • Terrain support
  • Tile streaming
  • Map data access from game objects