Swiftpack.co - mapbox/mapbox-maps-ios as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by mapbox.
mapbox/mapbox-maps-ios v11.0.0-beta.4
Interactive, thoroughly customizable maps for iOS powered by vector tiles and Metal
⭐️ 346
🕓 5 days ago
.package(url: "https://github.com/mapbox/mapbox-maps-ios.git", from: "v11.0.0-beta.4")


CLA assistant

The Mapbox Maps SDK for iOS is a public library for displaying interactive, thoroughly customizable maps in native iOS. It takes map styles that conform to the Mapbox Style Specification, applies them to vector tiles that conform to the Mapbox Vector Tile Specification, and renders them using Metal.

Getting Started

This README is intended for developers who are interested in contributing to the Mapbox Maps SDK for iOS. Please visit https://docs.mapbox.com/ios/maps/guides/ for general information and instructions on using the Maps SDK in your iOS application.

Examples App

The Examples app shows how to use many of the features in the Maps SDK. See the Examples README for more information.


If you are interested in contributing to the Maps SDK, please see the DEVELOPING.md file for information on setting up, running and building the SDK.

Reporting issues / Need help?

Report a bug :beetle:

Please use our bug template to report any issues.

Request a new feature or enhancement :green_apple:

Please use our feature template to request new features or enhancements.

Other questions

If you have any questions about how to use the SDK or if you need help with specific features, you can reach out to our support team via our website or connect with our developer community by joining our Discord channel. We kindly ask you to avoid using the issue tracker in this repository for questions and instead use our support channels.

Historical Note

This repository is a continuation of the Mapbox Maps SDK for iOS available at mapbox/mapbox-gl-native-ios.


Stars: 346
Last commit: 3 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

4 days ago


Breaking changes ⚠️

  • StyleColor.red, StyleColor.green, StyleColor.blue, StyleColor.alpha are not in use anymore and got removed.
  • The syncSourceAndLayerIfNeeded method in every annotation manager (e.gPointAnnotationManager and others) was removed from the public API.

Features ✨ and improvements 🏁

  • Add MSAA support with the MapInitOptions/antialiasingSampleCount property.
  • StyleColor - add support for all color formats as defined by Mapbox Style Spec.
  • Introduce experimental Custom Raster Source APIs: StyleManager/addCustomRasterSource, StyleManager/setCustomRasterSourceTileData, StyleManager/invalidateCustomRasterSourceTile, StyleManager/invalidateCustomRasterSourceRegion.
  • Introduce new Map Content Gesture System, please refer to Map Content Gestures Guide for more information and guidance.

MapboxCoreMaps to 11.0.0-beta.5:

Features ✨ and improvements 🏁

  • Add properties to control fade out of model and fill-extrusion layers when pitch is used
  • Improve fog rendering performance
  • Add getCenterAltitudeMode function to the public API.
  • Improve fill layer and model layer rendering performance on high pitch views.
  • Add custom raster source API to support custom raster tiles generated/provided by the client.
  • Improve GPU performance by drawing opaque 3D geometry without blending
  • Introduce experimental symbol-z-elevate property to elevate symbols along with the buildings that are in the same place. The feature is supported for symbols with point placement only.
  • Update Mapbox Common to v24.0.0-beta.5
  • Add vertical-range property for fog

Bug fixes 🐞

  • Fix issue where the terrain didn't work if defined within a style fragment
  • The Custom Geometry Source fetchTileFunction() and cancelTileFunction() callbacks are invoked on the client thread.
  • Fixes a rendering error that broke symbol layers on Samsung S22 devices
  • Cache featureState for newly added source in case it is not available in renderer
  • Fix issue with model layer blending with geometry tile source
  • Fix incorrectly set begin timestamp for the RenderFrameFinished event

Dependency requirements:

  • Compatible version of Xcode: 14.1.0

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics