
Mapbox Ios Patterns
This is the official integration reference for Mapbox Maps SDK v11 on iOS, covering Swift, SwiftUI, and UIKit patterns. It walks through installation via SPM, three different marker APIs (the experimental Markers API, PointAnnotation with custom images, and full view annotations), user location tracking, and when to switch from annotations to style layers for performance. The marker comparison table is genuinely useful since the SDK gives you three ways to drop a pin and the tradeoffs are not obvious. If you're adding maps to an iOS app or migrating between annotation types, this is the pattern reference you want open in a second window.
- skills.sh installs
- 1.5K
- GitHub stars
- 86
- last updated
- Aug 21, 2026
Install
$ npx -y skills add mapbox/mapbox-agent-skills --skill mapbox-ios-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
Mapbox iOS Integration Patterns
Official patterns for integrating Mapbox Maps SDK v11 on iOS with Swift, SwiftUI, and UIKit.
Use this skill when:
- Installing and configuring Mapbox Maps SDK for iOS
- Adding markers and annotations to maps
- Showing user location and tracking with camera
- Adding custom data (GeoJSON) to maps
- Working with map styles, camera, or user interaction
- Handling feature interactions and taps
Official Resources:
Installation & Setup
Requirements
- iOS 14+
- Xcode 15+
- Swift 5.9+
- Free Mapbox account
Step 1: Configure Access Token
Add your public token to Info.plist:
<key>MBXAccessToken</key>
<string>pk.your_mapbox_token_here</string>
Get your token: Sign in at mapbox.com
Step 2: Add Swift Package Dependency
Sponsors
Details
- Repository
- github.com/mapbox/mapbox-agent-skills
- Categories
- Documentation, AI & Agent Building, Mobile Development
- First seen
- May 16, 2026
More from mapbox/mapbox-agent-skills
All 18- Mapbox Android Patterns1.5K
- Mapbox Google Maps Migration1.5K
- Mapbox Mcp Runtime Patterns1.4K
- Mapbox Maplibre Migration1.4K
- Mapbox Location Grounding1.3K
- Mapbox Web Integration Patterns2.7K
- Mapbox Web Performance Patterns2.5K
- Mapbox Style Patterns2.4K
- Mapbox Geospatial Operations2.3K
- Mapbox Data Visualization Patterns2.2K
- Mapbox Cartography2.2K
- Mapbox Style Quality2K
- Mapbox Token Security2K
- Mapbox Search Integration1.9K
- Mapbox Search Patterns1.9K
- Mapbox Store Locator Patterns1.7K
- Mapbox Mcp Devkit Patterns1.6K