Skip to content

Commit 4de47b7

Browse files
underootgithub-actions[bot]
authored andcommitted
v3.18.0
GitOrigin-RevId: c5ae5d2522ec461bae9ee4cf695147a081493a38
1 parent fac6644 commit 4de47b7

File tree

4 files changed

+12
-17
lines changed

4 files changed

+12
-17
lines changed

CHANGELOG.md

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,24 @@
1-
## 3.18.0-beta.2
1+
## 3.18.0
22

33
### Features and improvements ✨
44

5+
- Add `scaleFactor` support for images within `text-field`.
56
- Add `showButton` option to `GeolocateControl` that allows hiding the control button.
67
- Add `followUserLocation` option and `setFollowUserLocation` method to `GeolocateControl` to control whether the map follows the user's location.
78
- 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)
812

913
### Bug fixes 🐞
1014

15+
- Fix interaction handlers not working on model layers.
1116
- Fix stretchable icons without `icon-text-fit` rendering with an incorrect size.
1217
- Fix `icon-size` not working correctly with `coalesce` expressions.
18+
- Fix `raster-color` interpolation when using `nearest` `raster-resampling`.
1319
- Fix render cut off for elevated raster-layer rendering in ortho projection range.
1420
- Fix symbol placement with optional and missing parts.
1521
- 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-
2722
- Fix an error when querying multipolygons in `dynamic: true` mode.
2823
- Fix `AttributionControl` links sanitization.
2924
- Fix appearances with no `icon-size` using the default value instead of the layout-defined one.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mapbox-gl",
33
"description": "A WebGL interactive maps library",
4-
"version": "3.18.0-beta.2",
4+
"version": "3.18.0",
55
"main": "dist/mapbox-gl.js",
66
"style": "dist/mapbox-gl.css",
77
"types": "dist/mapbox-gl.d.ts",

src/style-spec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mapbox/mapbox-gl-style-spec",
3-
"version": "14.18.0-beta.2",
3+
"version": "14.18.0",
44
"description": "a specification for mapbox gl styles",
55
"author": "Mapbox",
66
"license": "SEE LICENSE IN LICENSE.txt",

0 commit comments

Comments
 (0)