Unity: Integrating GPS and Points of Interest
3h 57mAdvanced2019-03-18
Authors

Diego Herrera
Teacher and developer of 3D and AR apps
Course details
Geographic data is at the heart of much of the large-scale augmented reality work out there, but adding it to projects takes finesse. In this hands-on course, instructor Diego Herrera lays out the process, showing beginners how to use GPS inside Android and iOS applications. Throughout the course, Diego details how to load information from the Google Places API and process the JSON code successfully inside Unity. Learn how to set up an augmented reality camera, as well as how to build a fully-functional application that can sort results by distance.
Learning objectives
Setting up an AR camera
Building a scrolling menu
Creating a scene controller
Using Unity to load data from a website URL
Refactoring code
Populating a virtual object with JSON data
Calculating distance using GPS
Sorting results
Learning objectives
Setting up an AR camera
Building a scrolling menu
Creating a scene controller
Using Unity to load data from a website URL
Refactoring code
Populating a virtual object with JSON data
Calculating distance using GPS
Sorting results
Skills covered
Real-TimeGame DevelopmentUnityVisualization and Real-TimeAECProduct and ManufacturingSoftware DevelopmentDeep Dive (X:Y)
Concepts
Introduction
- learn how to use gps with android and ios
- installation
Creating a Virtual Camera With On-Screen GPS
- augmented reality camera set up
- introducing gps and location services
- create a visual gui placeholder
- preparing the project for export
- ios installation
- android installation
My Place Finder Real Google Places App
- creating a google cloud live account
- app layout and scrolling menu buttons
- project setup
- create a scene controller
- connect the gps class to the place finder app
- load data from a website url, part 1 from inside unity
- load data from a website url from inside unity, part 2
- refactor code to improve functionality
- process the json code from a url
- populate a virtual object with json data
- use the real names on prefabs
- calculate distance using gps
- dynamic button listeners, part 1
- dynamic button listeners, part 2
- sort results by nearest first, part 1
- sort results by nearest first, part 2
- sort results by nearest first, part 3
Conclusion
- inspiration for your future projects
- next steps