Skip to content

Lean Go Maps uses Google static maps API to query maps and "map" them to the unity world.

Notifications You must be signed in to change notification settings

SasanTV/Lean-Go-Maps

Repository files navigation

Lean Go Maps
---------------------------
see in action: https://youtu.be/SbUNzdPsL4s

Lean Go Maps uses Google static maps API to query maps and "map" them to unity world.
This asset makes it easy to convert map positions to unity world positions and vice versa.

Support: [email protected]

Getting Started
---------------------------
You need to generate a Google Static Maps API key and setup billing with them before you can use this asset. 
Here is how to get a key: https://developers.google.com/maps/documentation/maps-static/get-api-key#get-an-api-key

After you generate this key, you need to set it in GoogleStaticMap.cs as below:

[+] private string _apiKey = "YOUR_KEY_GOES_HERE";

Now, you can assign GoogleStaticMap.cs to an object (such as a quad) with a material assigned.
Call initialize() and then DrawMap(). To learn more investigate the demo scene.

Learn More
---------------------------
To make the most out of this asset, run the demo.scene and learn how every function is
being used. In this demo scene, we impelement a tiled mapping system and let the player
move on the map. A few objects are also available in the scene and we provide the sample 
codes to put this objects on the correct location on the map according to their (lat,lon)
location. Further more we provide scripts to query device location services if available.

About

Lean Go Maps uses Google static maps API to query maps and "map" them to the unity world.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages