v11.9.0-beta.1
Pre-release
Pre-release
mapbox-github-ci-writer-public-1
released this
28 Nov 12:54
·
19 commits
to main
since this release
Warning
Custom(non Mapbox-hosted) sprites could fail to load in some scenarios.
- Mark
symbolElevationReference
,symbolZOffset
,lineTrimColor
,lineTrimFadeRange
,lineZOffset
as Experimental in AnnotationManagers. This is potentially breaking change, however those properties are not marked as experimental only in AnnotationManagers by mistake.
In order to continue use them use the following import@_spi(Experimental) import MapboxMaps
.
Features ✨ and improvements 🏁
- Add two separete Geofence examples in SwiftUI -
GeofencingPlayground
andGeofencingUserLocation
- Add support for Base and Height alignment in FillExtrusionLayer.
- Add support for
pitchAlignment
in BackgroundLayer. - Add support for
zOffset
in FillLayer, PolygonAnnotation[Manager] and PolygonAnnotationGroup. - Add a property emphasisCircleGlowRange to LocationIndicatorLayer to control the glow effect of the emphasis circle – from the solid start to the fully transparent end.
- Add a new Expression initializer
init(_ operator: Operator, _ arguments: ExpressionArgumentConvertible...)
to simplify the creation of expressions with multiple arguments.
That initializer doesn't require to wrap arguments inArgument
cases. For example,Exp(.eq, Exp(.get, "extrude"), "true")
. - Expose a
TileStore/clearAmbientCache()
method to clear ambient cache. - Add new experimental
radius
parameter toTapInteraction
,LongPressInteraction
and interaction managers to control the radius of a tappable area. - Add a way to specify image expression options.
- Add new experimental APIs to control precipitation rendering. Snow and Rain are available now with an
@_spi(Experimental)
import prefix. - Add a way to filter attribution menu items.
Bug fixes 🐞
- Fix a crash on calling
LocationIndicatorLayer/location(coordinate:) function
due to missing 0 altitude value.
Dependencies
- Update MapboxCommon to
24.9.0-beta.1
. - Update MapboxCoreMaps to
11.9.0-beta.1
:-
Changelog
* Vector icons support: SDK will now download vector icons and rasterize them locally, which will results in better icon quality for icons resized via icon-size. Changeable colors support: icon expression can now have optional parameter to change named colors described in SVG icons metadata. * Add support for shadows from elevated structures. * fix dark shade * Fix rendering of interleaved SDF and non-SDF icons in the same layer * Fix line-emissive-strength not being applied to patterned lines * Fix shader fog computation being incorrectly enabled for landmarks * workaround for instancing on PowerVR devices. * Handle empty payloads for offline resources * Encapsulate config expression in assertion expression when expected return type is known * Fixed a bug which caused icon shifts in some cases
-
Dependency requirements:
- Compatible version of Xcode:
15.2.0