|
1 | | -## 3.18.0-beta.2 |
| 1 | +## 3.18.0 |
2 | 2 |
|
3 | 3 | ### Features and improvements ✨ |
4 | 4 |
|
| 5 | +- Add `scaleFactor` support for images within `text-field`. |
5 | 6 | - Add `showButton` option to `GeolocateControl` that allows hiding the control button. |
6 | 7 | - Add `followUserLocation` option and `setFollowUserLocation` method to `GeolocateControl` to control whether the map follows the user's location. |
7 | 8 | - Improve `GeolocateControl` timeout handling. |
| 9 | +- Add support for `text-rotate`, `text-size`, and `text-offset` properties in appearances. |
| 10 | +- Add `shadow-draw-before-layer` property to directional light, allowing control over shadow draw order in the layer stack. |
| 11 | +- Add `model-allow-density-reduction` property to model layers. (h/t @JoshuaJMoore) |
8 | 12 |
|
9 | 13 | ### Bug fixes 🐞 |
10 | 14 |
|
| 15 | +- Fix interaction handlers not working on model layers. |
11 | 16 | - Fix stretchable icons without `icon-text-fit` rendering with an incorrect size. |
12 | 17 | - Fix `icon-size` not working correctly with `coalesce` expressions. |
| 18 | +- Fix `raster-color` interpolation when using `nearest` `raster-resampling`. |
13 | 19 | - Fix render cut off for elevated raster-layer rendering in ortho projection range. |
14 | 20 | - Fix symbol placement with optional and missing parts. |
15 | 21 | - Expose all error properties for `GeolocateControl` error event (h/t @lucavb). |
16 | | - |
17 | | -## 3.18.0-beta.1 |
18 | | - |
19 | | -### Features and improvements ✨ |
20 | | - |
21 | | -- Add support for `text-rotate`, `text-size`, and `text-offset` properties in appearances. |
22 | | -- Add `shadow-draw-before-layer` property to directional light, allowing control over shadow draw order in the layer stack. |
23 | | -- Add `model-allow-density-reduction` property to model layers. (h/t @JoshuaJMoore) |
24 | | - |
25 | | -### Bug fixes 🐞 |
26 | | - |
27 | 22 | - Fix an error when querying multipolygons in `dynamic: true` mode. |
28 | 23 | - Fix `AttributionControl` links sanitization. |
29 | 24 | - Fix appearances with no `icon-size` using the default value instead of the layout-defined one. |
|
0 commit comments