Mapbox Maps: v10.0.0-beta.20
sdk-release-bot
released this
20 May 19:53
·
1539 commits
to main
since this release
Dependency requirements:
- Compatible version of MapboxCoreMaps: v10.0.0-beta.22
- Compatible version of MapboxCommon: v12.0.0
- Compatible version of Xcode: 12.4
- Compatible version of MacOS: Big Sur
Changes
10.0.0-beta.20 - May 20, 2021
Breaking changes ⚠️
BaseMapView.on()
has now been replaced bymapView.mapboxMap.onNext(...) -> Cancelable
andmapView.mapboxMap.onEvery(...) -> Cancelable
. (#339)StyleURI
,PreferredFPS
, andAnimationOwner
are now structs. (#285)- The
layout
andpaint
substructs for each layer are now merged into the root layer struct. (#362) GestureOptions
are owned byGestureManager
directly. (#343)LocationOptions
are owned byLocationManager
directly. (#344)MapCameraOptions
are owned bymapView.camera
directly. (#345)RenderOptions
are owned byBaseMapView
directly. (#350)AnnotationOptions
are owned byAnnotationManager
directly. (#351)MapView
has been coalesced intoBaseMapView
and the resulting object is calledMapView
. (#353)Style.uri
is now an optional property. (#347)Style
is no longer a dependency onLocationSupportableMapView
. (#352)Style
now has a more flat structure.Layout
andPaint
structs are now obsolete andLayer
properties are at the root layer. (#362)- Changed
LayerPosition
to an enum. (#221) - Removed
style
from MapView; updated tests and examples to usemapboxMap.style
. (#361) - The
visibleFeatures
APIs have been renamed toqueryRenderedFeatures
. (#361) LoggingConfiguration
is no longer public. (#361)- The following Swift wrappers have been added for existing types; these primarily change callbacks from using an internal
MBXExpected
type to using Swift'sResult
type. (#361)CacheManager
HttpResponse
OfflineSwitch
(which replaces NetworkConnectivity)OfflineRegionManager
(though this API is deprecated)
- Adds
loadStyleURI
andloadStyleJSON
toMapboxMap
. (#354)
Bug fixes 🐞
- Fixed an issue where the map's scale bar and compass view could trigger
layoutSubviews()
for the map view. (#338)
Direct download
Link to download binaries (append your own Mapbox access token scoped with DOWNLOADS:READ
):
https://api.mapbox.com/downloads/v2/mobile-maps-ios/releases/ios/10.0.0-beta.20/MapboxMaps.zip?access_token=<access-token>