Repository navigation
Breaking changes ⚠️
- Images in
textFieldcan be smaller whentextSizedepends on zoom
The SDK now computes the base size of images embedded in a symbol layer'stextFieldfrom the largest text size in the tile's zoom range. As a result, the icons can be smaller when the text size depends on the zoom level.
Features ✨ and improvements 🏁
- HD roads in the Mapbox Standard style
Use the newshowHdRoadsoption ofMapStyle.standard(...)to show detailed lane surfaces, andcolorHdRoadsto set their color. HD roads are off by default.
Bug fixes 🐞
-
MapViewinitialization could block the main thread
MapViewcreated the scale bar's distance formatter at startup, even when the scale bar was hidden. On slow devices, this blocked the main thread for several seconds. The SDK now creates the formatter only when the scale bar needs it. -
View annotations did not move when their source data changed
A view annotation attached to a layer feature stayed at the feature's old position after the source updated, until the next zoom. The annotation now follows the new geometry. -
Overlapping semi-transparent buildings looked too dark
A semi-transparentFillExtrusionLayernext to the 3D buildings in the Mapbox Standard style blended twice where the two overlapped. Each pixel now blends once. -
Crash when several maps rendered view annotations at the same time
View annotation placement cached collision grid parameters in storage shared by all maps in the process, without synchronization. Two maps rendering at once could corrupt that cache and crash. Each map now computes the parameters on its own. -
View annotations flickered when camera padding left too little room
A view annotation attached to a layer feature must fit inside the camera-padded viewport. When the padding left less room than the annotation needed, the SDK searched for a new position every frame and discarded the previous one, so the annotation jumped or disappeared as tiles loaded or the zoom changed. The annotation now keeps its previous position in this case.
Dependencies
- Update MapboxCommon to
24.33.0. - Update MapboxCoreMaps to
11.33.0.
Dependency requirements:
- Compatible version of Xcode:
26.5