Skip to content

Commit

Permalink
v3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Sep 26, 2024
1 parent 67672bc commit f8f2563
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
## v3.7.0-beta.1
## v3.7.0

### Features and improvements ✨

- Add `background-pitch-alignment` property of the `background` layer, which is set to `map` by default but can now be set to `viewport`. Useful for highlighting individual features by dimming the rest of the map with a semitransparent background.
- Add new control positions (`top`, `right`, `bottom`, and `left`) (h/t [@Ethan-Guttman](https://github.com/Ethan-Guttman)).
- Add `retainPadding` option for camera movement methods, which can be set to `false` for pre-v3.4 padding behavior.
- Add `config` expression support in layer filter.
- Add symbol elevation properties: `symbol-z-offset` and `symbol-elevation-reference`.
- Add the `fill-z-offset` property for fill layers.
Expand All @@ -13,6 +16,7 @@
- Improve type checking for the `Map#setPaintProperty` and `Map#setLayoutProperty` methods.
- Allow the `string` event type in Map event handlers.
- Expose `RequestTransformFunction`, `ResourceType`, and `RequestParameters` types.
- Improve texture memory footprint on some platforms.

### Bug fixes 🐞
- Fix feature filtering when using 3D lights.
Expand All @@ -22,6 +26,9 @@
- Fix the issue where `minzoom` and `maxzoom` properties were ignored by `clip` layers.
- Fix handling previously hidden models in `clip` layers.
- Fix directional light `cast-shadows` property type.
- Fix an edge case that could produce `setStencilMode`-related error in the console with the dev build.
- Fix an issue where some fill extrusions could temporarily disappear when zooming quickly in certain areas.
- Fix an edge case that could cause flickering on a far plane on high zooms.

## 3.6.0

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mapbox-gl",
"description": "A WebGL interactive maps library",
"version": "3.7.0-beta.1",
"version": "3.7.0",
"main": "dist/mapbox-gl.js",
"style": "dist/mapbox-gl.css",
"types": "dist/mapbox-gl.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/style-spec/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mapbox/mapbox-gl-style-spec",
"version": "14.7.0-beta.1",
"version": "14.7.0",
"description": "a specification for mapbox gl styles",
"author": "Mapbox",
"license": "SEE LICENSE IN LICENSE.txt",
Expand Down

0 comments on commit f8f2563

Please sign in to comment.