Skip to content

This repo is a successful example of Mapbox API is working with Microsoft Hololens-2 glasses, that application developed in Unity UWP.

Notifications You must be signed in to change notification settings

mertusta1996/Mapbox-Hololens-2-Unity-UWP-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapbox-Hololens-2-Unity-UWP-

This repo is a successful example of Mapbox API is working in Microsoft Hololens-2 glasses with Unity UWP.

Changes

  • Deleted sq3lite.dll and some parts of codes working with sq3lite.dll.(sq3lite part is so problematic for Hololens-2)

  • Reworked all .dll files in Mapbox/Plugins folder.

  • Some namespaces and libraries deleted from codes and changed with compatible ones with UWP.

  • Changed some parts of codes for build errors.

Usage

1 - You could set the Map Position in the Real World.

video.7.mp4

2 - You could Increase/Decrease Map Size.

video.5.mp4

3 - You could travel in the Map.

video.1.mp4

4 - You could Zoom In/Zoom Out in the Map.

video.4.mp4

Setup

1 - Download the repo.

2 - Here is the main Unity scene for this app I've added. (Assets\Mapbox Hololens2\Scene\Hololens2 Scene.unity)

3 - Configure the Mapbox token value from this section.

4 - Create an account from Mapbox web page and add your free Mapbox token to here. (for creating Mapbox token => mapbox.com/studio/accounts/tokens/)

5- Open the Build Settings , add the main scene and configure the settings like this image.

6- After building the app, deploy it to the Hololens-2 from the .sln file. (Open the .sln file with Visual Studio and deploy it as a package or deployment with Master, ARM settings.)

Author

  • Mert Usta - GitHub
  • Tugay Karapınar

About

This repo is a successful example of Mapbox API is working with Microsoft Hololens-2 glasses, that application developed in Unity UWP.

Topics

Resources

Stars

Watchers

Forks