By: Jordan Kiley
Since ARKit was announced at WWDC, developers have been sharing amazing projects that they have made with ARKit.
I used the Mapbox iOS SDK to make a map view to accompany an ARKit world tracking session. This helps your users to navigate the real world, while remaining in the world you created. Mapbox’s Cartogram tool let me quickly create a custom style based on a radar image.
The map view is a subclass of MGLMapView, and therefore allows you to access features like runtime styling and user tracking mode. Use MGLUserTrackingModeFollowWithHeading to easily create a map that rotates based on the direction that your user’s device is pointing!
Download this sample project to get started! You can test this Swift project out on Xcode 9 beta 4. I used CocoaPods to integrate the Mapbox iOS SDK. Once you install the SDK, add your Mapbox access token to the mapbox_access_token file and you’re ready to start building.
How are you using Mapbox with ARKit? Show us on Twitter using the hashtag #BuiltWithMapbox.
Compass for ARKit was originally published in Points of interest on Medium, where people are continuing the conversation by highlighting and responding to this story.