Skip to content

Commit 79fad16

Browse files
stepankuzmingithub-actions[bot]
authored andcommitted
v3.18.0-beta.2 (internal-8968)
GitOrigin-RevId: 99fe32a974edd9f178b17cc74420f1365fa632f6
1 parent 7edff45 commit 79fad16

4 files changed

Lines changed: 31 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,36 @@
1+
## 3.18.0-beta.2
2+
3+
### Features and improvements ✨
4+
5+
- Add `showButton` option to `GeolocateControl` that allows hiding the control button.
6+
- Add `followUserLocation` option and `setFollowUserLocation` method to `GeolocateControl` to control whether the map follows the user's location.
7+
- Improve `GeolocateControl` timeout handling.
8+
9+
### Bug fixes 🐞
10+
11+
- Fix stretchable icons without `icon-text-fit` rendering with an incorrect size.
12+
- Fix `icon-size` not working correctly with `coalesce` expressions.
13+
- Fix render cut off for elevated raster-layer rendering in ortho projection range.
14+
- Fix symbol placement with optional and missing parts.
15+
- Expose all error properties for `GeolocateControl` error event (h/t @lucavb).
16+
117
## 3.18.0-beta.1
218

319
### Features and improvements ✨
420

5-
* Add support for `text-rotate`, `text-size`, and `text-offset` properties in appearances.
6-
* Add `shadow-draw-before-layer` property to directional light, allowing control over shadow draw order in the layer stack.
7-
* Add `model-allow-density-reduction` property to model layers. (h/t @JoshuaJMoore)
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)
824

925
### Bug fixes 🐞
1026

11-
* Fix an error when querying multipolygons in `dynamic: true` mode.
12-
* Fix `AttributionControl` links sanitization.
13-
* Fix appearances with no `icon-size` using the default value instead of the layout-defined one.
14-
* Fix updates to model source via `ModelSource.setModels` while models are still loading.
15-
* Fix polygon clipping precision errors causing rendering artifacts in elevated structures.
16-
* Preserve featuresets in `map.getStyle()` output.
17-
* Expose TypeScript types from `@mapbox/mapbox-gl-style-spec` for direct imports.
27+
- Fix an error when querying multipolygons in `dynamic: true` mode.
28+
- Fix `AttributionControl` links sanitization.
29+
- Fix appearances with no `icon-size` using the default value instead of the layout-defined one.
30+
- Fix updates to model source via `ModelSource.setModels` while models are still loading.
31+
- Fix polygon clipping precision errors causing rendering artifacts in elevated structures.
32+
- Preserve featuresets in `map.getStyle()` output.
33+
- Expose TypeScript types from `@mapbox/mapbox-gl-style-spec` for direct imports.
1834

1935
## 3.17.0
2036

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.1",
4+
"version": "3.18.0-beta.2",
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.1",
3+
"version": "14.18.0-beta.2",
44
"description": "a specification for mapbox gl styles",
55
"author": "Mapbox",
66
"license": "SEE LICENSE IN LICENSE.txt",

0 commit comments

Comments
 (0)