Showing the user's location in a Mapbox MapView
With this article you will learn how to obtain the user's location and show it on a map using the Mapbox SDK for iOS.

In recent articles, we explored how to integrate Mapbox within a SwiftUI app. The powerful Mapbox SDK for iOS natively supports UIKit, but it can conveniently be integrated with SwiftUI, using UIViewControllerRepresentable to wrap the UIViewController in a SwiftUI compatible view. We also explored how to add annotations to add annotaitons to a Mapbox map. Now, let's focus on showing the user's location on the map.
Become a free member or log in to proceed.