maplibre/maplibre-gl-js (maplibre-gl)
### [`v3.6.2`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#362)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.6.1...v3.6.2)
##### 🐞 Bug fixes
- Fix mapbox-gl-draw example ([#2601](https://togithub.com/maplibre/maplibre-gl-js/issues/2601), [#3394](https://togithub.com/maplibre/maplibre-gl-js/pull/3394))
- Fix fill patterns sometimes not rendering at all ([#3339](https://togithub.com/maplibre/maplibre-gl-js/pull/3339))
### [`v3.6.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#361)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.6.0...v3.6.1)
##### 🐞 Bug fixes
- Fix `undefined` `_onEaseFrame` call in `Camera._renderFrameCallback()` while doing `Camera.jumpTo` during a `Camera.easeTo` ([#3332](https://togithub.com/maplibre/maplibre-gl-js/pull/3332))
### [`v3.6.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#360)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.5.2...v3.6.0)
##### ✨ Features and improvements
- Add getLayersOrder() to Map and Style ([#3279](https://togithub.com/maplibre/maplibre-gl-js/pull/3279))
- Updated description of `fullscreen` example ([#3311](https://togithub.com/maplibre/maplibre-gl-js/pull/3311))
##### 🐞 Bug fixes
- Fix null feature properties in resolve_tokens ([#3272](https://togithub.com/maplibre/maplibre-gl-js/pull/3272))
### [`v3.5.2`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#352)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.5.1...v3.5.2)
##### ✨ Features and improvements
- Convert plantuml diagrams to mermaid ([#3217](https://togithub.com/maplibre/maplibre-gl-js/pull/3217))
- Improve buffer transfer in Safari after Safari fixed a memory leak bug ([#3225](https://togithub.com/maplibre/maplibre-gl-js/pull/3225))
- Minify internal exports to reduce bundle size ([#3216](https://togithub.com/maplibre/maplibre-gl-js/pull/3216))
##### 🐞 Bug fixes
- Add terrain property to map style object ([#3234](https://togithub.com/maplibre/maplibre-gl-js/pull/3234))
- Fix exception thrown from `isWebGL2` check ([#3238](https://togithub.com/maplibre/maplibre-gl-js/pull/3238))
- Fix rollup watch mode ([#3270](https://togithub.com/maplibre/maplibre-gl-js/pull/3270))
### [`v3.5.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#351)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.5.0...v3.5.1)
##### 🐞 Bug fixes
- Fix regression introduced in 3.5.0, related to async/await ([#3228](https://togithub.com/maplibre/maplibre-gl-js/pull/3228))
### [`v3.5.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#350)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.4.1...v3.5.0)
##### ✨ Features and improvements
- Add setTiles method to RasterTileSource to dynamically update existing tile sources. ([#3208](https://togithub.com/maplibre/maplibre-gl-js/pull/3208))
### [`v3.4.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#341)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.4.0...v3.4.1)
##### ✨ Features and improvements
- Locally rendered glyphs are double resolution (48px), greatly improving sharpness of CJK text. ([#2990](https://togithub.com/maplibre/maplibre-gl-js/issues/2990), [#3006](https://togithub.com/maplibre/maplibre-gl-js/pull/3006))
##### 🐞 Bug fixes
- Fix setStyle->style.setState didn't reset \_serializedLayers ([#3133](https://togithub.com/maplibre/maplibre-gl-js/pull/3133)).
- Fix Raster DEM decoding in safari private browsing mode ([#3185](https://togithub.com/maplibre/maplibre-gl-js/pull/3185))
### [`v3.4.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#340)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.3.1...v3.4.0)
##### ✨ Features and improvements
- Improve error message when a tile can't be loaded ([#3130](https://togithub.com/maplibre/maplibre-gl-js/pull/3130))
- Support custom raster-dem encodings ([#3087](https://togithub.com/maplibre/maplibre-gl-js/pull/3087))
##### 🐞 Bug fixes
- Fixed Interrupting a scroll zoom causes the next scroll zoom to return to the prior zoom level by reseting scroll handler state properly ([#2709](https://togithub.com/maplibre/maplibre-gl-js/issues/2709), [#3051](https://togithub.com/maplibre/maplibre-gl-js/pull/305))
- Fix unit test warning about duplicate module names ([#3049](https://togithub.com/maplibre/maplibre-gl-js/pull/3049))
- Correct marker position when switching between 2D and 3D view ([#2996](https://togithub.com/maplibre/maplibre-gl-js/pull/2996))
- Fix error thrown when unsetting line-gradient \[[#2683](https://togithub.com/maplibre/maplibre-gl-js/issues/2683)]
- Update raster tile end points in documentation
- Avoiding inertia animation on Mac when reduced motion is on ([#3068](https://togithub.com/maplibre/maplibre-gl-js/pull/3068))
- 3d buildings example doesn't work as expected ([#3165](https://togithub.com/maplibre/maplibre-gl-js/pull/3165))
### [`v3.3.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#331)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.3.0...v3.3.1)
##### ✨ Features and improvements
- Copy LICENSE.txt to dist folder so it's included in 3rdpartylicenses.txt by webpack ([#3021](https://togithub.com/maplibre/maplibre-gl-js/pull/3021))
##### 🐞 Bug fixes
- Correct declared return type of `Map.getLayer()` and `Style.getLayer()` to be `StyleLayer | undefined` to match the documentation ([#2969](https://togithub.com/maplibre/maplibre-gl-js/pull/2969))
- Correct type of `Map.addLayer()` and `Style.addLayer()` to allow adding a layer with an embedded source, matching the documentation ([#2966](https://togithub.com/maplibre/maplibre-gl-js/pull/2966))
- Throttle map resizes from ResizeObserver to reduce flicker ([#2986](https://togithub.com/maplibre/maplibre-gl-js/pull/2986))
- Correct function `Map.setTerrain(options: TerrainSpecification): Map` to be `Map.setTerrain(options: TerrainSpecification | null): Map` per the API spec ([#2993](https://togithub.com/maplibre/maplibre-gl-js/pull/2993))
- Correct function `Map.getTerrain(): TerrainSpecification` to be `Map.getTerrain(): TerrainSpecification | null` for consistency with the setTerrain function ([#3020](https://togithub.com/maplibre/maplibre-gl-js/pull/3020))
### [`v3.3.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#330)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.2.2...v3.3.0)
##### ✨ Features and improvements
- Add support for [`text-variable-anchor-offset`](https://maplibre.org/maplibre-style-spec/layers/#layout-symbol-text-variable-anchor-offset) symbol style layer property ([#2914](https://togithub.com/maplibre/maplibre-gl-js/pull/2914))
### [`v3.2.2`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#322)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.2.1...v3.2.2)
##### ✨ Features and improvements
- Add `cache` parameter to [`RequestParameters`](https://maplibre.org/maplibre-gl-js/docs/API/types/maplibregl.RequestParameters/) ([#2910](https://togithub.com/maplibre/maplibre-gl-js/pull/2910))
- Removed some classed from the docs to better define the public API ([#2945](https://togithub.com/maplibre/maplibre-gl-js/pull/2945))
##### 🐞 Bug fixes
- Properly check ImageBitmap ([#2942](https://togithub.com/maplibre/maplibre-gl-js/pull/2942), [#2940](https://togithub.com/maplibre/maplibre-gl-js/issues/2940))
- VectorTileWorkerSource: fix reload for original's load parse would not pass the rawTileData and meta. ([#2941](https://togithub.com/maplibre/maplibre-gl-js/pull/2941))
### [`v3.2.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#321)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.2.0...v3.2.1)
##### ✨ Features and improvements
- Remove cooperative gesture screen from the accessibility tree since screenreaders cannot interact with the map using gestures
- Add `cooperated gestures` example to the doc.([#2860](https://togithub.com/maplibre/maplibre-gl-js/pull/2860))
##### 🐞 Bug fixes
- Incorrect distance field of view calculation for negative elevation, fixed by storing min elevation for the tile in view ([#1655](https://togithub.com/maplibre/maplibre-gl-js/issues/1655), [#2858](https://togithub.com/maplibre/maplibre-gl-js/pull/2858))
- Fix reloadCallback not firing on VectorTileWorkerSource.reloadTile ([#1874](https://togithub.com/maplibre/maplibre-gl-js/pull/1874))
- Don't draw halo pixels underneath text pixels ([#2897](https://togithub.com/maplibre/maplibre-gl-js/pull/2897))
- Fix RasterDEMTileSource not serializing its options correctly ([#2895](https://togithub.com/maplibre/maplibre-gl-js/pull/2895))
- Remove node and jest from dist type checking, fix map event and other typing problems ([#2898](https://togithub.com/maplibre/maplibre-gl-js/pull/2898))
### [`v3.2.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#320)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.1.0...v3.2.0)
##### ✨ Features and improvements
- Change all internal exports to named exports([#2711](https://togithub.com/maplibre/maplibre-gl-js/pull/2711))
- Docs generation is now part of this repo([#2733](https://togithub.com/maplibre/maplibre-gl-js/pull/2733))
- Add `className` option to Marker constructor ([#2729](https://togithub.com/maplibre/maplibre-gl-js/pull/2729))
- Immediately redraw the map after setting pixel ratio ([#2674](https://togithub.com/maplibre/maplibre-gl-js/pull/2673))
- Add maxCanvasSize option to limit canvas size. It can prevent reaching the GL limits and reduce the load on the devices. Default value is \[4096, 4096].
- Reduce maxCanvasSize when hitting GL limits to avoid distortions ([#2674](https://togithub.com/maplibre/maplibre-gl-js/pull/2673))
- Rewrite all the code comments in TSDocs, introduced a new documentaiton system and moved examples into this repository for better debug options ([#2756](https://togithub.com/maplibre/maplibre-gl-js/pull/2756))
- ⚠️ Removed non documented `Marker` constructor parameter ([#2756](https://togithub.com/maplibre/maplibre-gl-js/pull/2756))
- Updated `check-for-support` example ([#2859](https://togithub.com/maplibre/maplibre-gl-js/pull/2859))
##### 🐞 Bug fixes
- Return undefined instead of throwing from `Style.serialize()` when the style hasn't loaded yet ([#2712](https://togithub.com/maplibre/maplibre-gl-js/pull/2712))
- Don't throw an exception from `checkMaxAngle` when a label with length 0 is on the last segment of a line ([#2710](https://togithub.com/maplibre/maplibre-gl-js/pull/2710))
- Fix the `tap then drag` zoom gesture detection to abort when the two taps are far away ([#2673](https://togithub.com/maplibre/maplibre-gl-js/pull/2673))
- Fix regression - update pixel ratio when devicePixelRatio changes, restoring the v1.x behaviour ([#2706](https://togithub.com/maplibre/maplibre-gl-js/issues/2706))
- Fix incorrect elevation calculation \[[#2772](https://togithub.com/maplibre/maplibre-gl-js/issues/2772)]
### [`v3.1.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#310)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.0.1...v3.1.0)
##### ✨ Features and improvements
- Expose map options.maxTileCacheZoomLevels to allow better control of tile cache ([#2581](https://togithub.com/maplibre/maplibre-gl-js/pull/2581))
##### 🐞 Bug fixes
- Fix regression - Add webgl1 fallback to accomondate users without webgl2 support ([#2653](https://togithub.com/maplibre/maplibre-gl-js/issues/2653))
### [`v3.0.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#301)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.0.0...v3.0.1)
##### ✨ Features and improvements
- Update shaders to GLSL ES 3.0 ([#2599](https://togithub.com/maplibre/maplibre-gl-js/pull/2599))
##### 🐞 Bug fixes
- Fix `RequestTransformFunction` type to return RequestParameters or undefined ([#2586](https://togithub.com/maplibre/maplibre-gl-js/pull/2586))
- Load `EXT_color_buffer_float` WebGL2 extension to fix heatmap in firefox ([#2595](https://togithub.com/maplibre/maplibre-gl-js/pull/2595))
### [`v3.0.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#300)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.4.0...v3.0.0)
### [`v2.4.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#240)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.3.0...v2.4.0)
##### ✨ Features and improvements
- Added calculateCameraOptionsFromTo to camera ([#1427](https://togithub.com/maplibre/maplibre-gl-js/pull/1427))
- Improve expression types ([#1510](https://togithub.com/maplibre/maplibre-gl-js/pull/1510))
- Improve performance for primitive size selection ([#1508](https://togithub.com/maplibre/maplibre-gl-js/pull/1508))
- Upgrade target from ES2017 to ES2019 ([#1499](https://togithub.com/maplibre/maplibre-gl-js/pull/1499))
- Improve error handling ([#1485](https://togithub.com/maplibre/maplibre-gl-js/pull/1485))
- Removed `_interpolationType` unused field ([#264](https://togithub.com/maplibre/maplibre-gl-js/issues/264))
##### 🐞 Bug fixes
- Fix attribution not being displayed for terrain ([#1516](https://togithub.com/maplibre/maplibre-gl-js/pull/1516))
- No triggering of contextmenu after rotate, pitch, etc. also on Windows ([#1537](https://togithub.com/maplibre/maplibre-gl-js/pull/1537))
### [`v2.3.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#230)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.2.1...v2.3.0)
##### ✨ Features and improvements
- Re-enable method to get library version. Either with `import {version} from 'maplibre-gl'`, or on a Map instance as `map.version`.
### [`v2.2.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#221)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.2.0...v2.2.1)
##### 🐞 Bug fixes
- Fix types generation and make sure they run as part of the CI ([#1462](https://togithub.com/maplibre/maplibre-gl-js/issues/1462), [#1465](https://togithub.com/maplibre/maplibre-gl-js/pull/1465))
### [`v2.2.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#220)
[Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.1.9...v2.2.0)
Everything from the four previous pre-releases:
##### ✨ Features and improvements
- Update `icon-padding` symbol layout property to support asymmetric padding ([#1289](https://togithub.com/maplibre/maplibre-gl-js/pull/1289))
- Added `cooperativeGestures` option when instantiating map to prevent inadvertent scrolling/panning when navigating a page where map is embedded inline ([#234](https://togithub.com/maplibre/maplibre-gl-js/issues/234))
- Improve filter specification typings ([#1390](https://togithub.com/maplibre/maplibre-gl-js/pull/1390))
- Add 3D terrain capabilities ([#165](https://togithub.com/maplibre/maplibre-gl-js/pull/165), [#1022](https://togithub.com/maplibre/maplibre-gl-js/pull/1022))
- Cancel pending GeoJSON requests when `GeoJSONSource.setData()` is called instead of waiting for any pending request to complete before issuing the request for the new URL ([#1102](https://togithub.com/maplibre/maplibre-gl-js/pull/1102))
##### 🐞 Bug fixes
- Fix compact attribution style when using global CSS that sets `box-sizing: border-box;` ([#1250](https://togithub.com/maplibre/maplibre-gl-js/pull/1250))
- Handle maxBounds which cross the meridian at longitude ±180° ([#1298](https://togithub.com/maplibre/maplibre-gl-js/pull/1298), [#1299](https://togithub.com/maplibre/maplibre-gl-js/pull/1299))
- Hide arrow displayed in default `summary` styles on the attribution control ([#1258](https://togithub.com/maplibre/maplibre-gl-js/pull/1258))
- Fix memory usage in terrain 3D ([#1291](https://togithub.com/maplibre/maplibre-gl-js/issues/1291), [#1302](https://togithub.com/maplibre/maplibre-gl-js/pull/1302))
- Fix disappearence of closest tiles when 3D terrain is enabled ([#1241](https://togithub.com/maplibre/maplibre-gl-js/issues/1241), [#1300](https://togithub.com/maplibre/maplibre-gl-js/pull/1300))
Configuration
📅 Schedule: Branch creation - "every 2 weeks on Monday before 7am" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
2.1.9
->3.6.2
Release Notes
maplibre/maplibre-gl-js (maplibre-gl)
### [`v3.6.2`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#362) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.6.1...v3.6.2) ##### 🐞 Bug fixes - Fix mapbox-gl-draw example ([#2601](https://togithub.com/maplibre/maplibre-gl-js/issues/2601), [#3394](https://togithub.com/maplibre/maplibre-gl-js/pull/3394)) - Fix fill patterns sometimes not rendering at all ([#3339](https://togithub.com/maplibre/maplibre-gl-js/pull/3339)) ### [`v3.6.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#361) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.6.0...v3.6.1) ##### 🐞 Bug fixes - Fix `undefined` `_onEaseFrame` call in `Camera._renderFrameCallback()` while doing `Camera.jumpTo` during a `Camera.easeTo` ([#3332](https://togithub.com/maplibre/maplibre-gl-js/pull/3332)) ### [`v3.6.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#360) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.5.2...v3.6.0) ##### ✨ Features and improvements - Add getLayersOrder() to Map and Style ([#3279](https://togithub.com/maplibre/maplibre-gl-js/pull/3279)) - Updated description of `fullscreen` example ([#3311](https://togithub.com/maplibre/maplibre-gl-js/pull/3311)) ##### 🐞 Bug fixes - Fix null feature properties in resolve_tokens ([#3272](https://togithub.com/maplibre/maplibre-gl-js/pull/3272)) ### [`v3.5.2`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#352) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.5.1...v3.5.2) ##### ✨ Features and improvements - Convert plantuml diagrams to mermaid ([#3217](https://togithub.com/maplibre/maplibre-gl-js/pull/3217)) - Improve buffer transfer in Safari after Safari fixed a memory leak bug ([#3225](https://togithub.com/maplibre/maplibre-gl-js/pull/3225)) - Minify internal exports to reduce bundle size ([#3216](https://togithub.com/maplibre/maplibre-gl-js/pull/3216)) ##### 🐞 Bug fixes - Add terrain property to map style object ([#3234](https://togithub.com/maplibre/maplibre-gl-js/pull/3234)) - Fix exception thrown from `isWebGL2` check ([#3238](https://togithub.com/maplibre/maplibre-gl-js/pull/3238)) - Fix rollup watch mode ([#3270](https://togithub.com/maplibre/maplibre-gl-js/pull/3270)) ### [`v3.5.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#351) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.5.0...v3.5.1) ##### 🐞 Bug fixes - Fix regression introduced in 3.5.0, related to async/await ([#3228](https://togithub.com/maplibre/maplibre-gl-js/pull/3228)) ### [`v3.5.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#350) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.4.1...v3.5.0) ##### ✨ Features and improvements - Add setTiles method to RasterTileSource to dynamically update existing tile sources. ([#3208](https://togithub.com/maplibre/maplibre-gl-js/pull/3208)) ### [`v3.4.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#341) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.4.0...v3.4.1) ##### ✨ Features and improvements - Locally rendered glyphs are double resolution (48px), greatly improving sharpness of CJK text. ([#2990](https://togithub.com/maplibre/maplibre-gl-js/issues/2990), [#3006](https://togithub.com/maplibre/maplibre-gl-js/pull/3006)) ##### 🐞 Bug fixes - Fix setStyle->style.setState didn't reset \_serializedLayers ([#3133](https://togithub.com/maplibre/maplibre-gl-js/pull/3133)). - Fix Raster DEM decoding in safari private browsing mode ([#3185](https://togithub.com/maplibre/maplibre-gl-js/pull/3185)) ### [`v3.4.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#340) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.3.1...v3.4.0) ##### ✨ Features and improvements - Improve error message when a tile can't be loaded ([#3130](https://togithub.com/maplibre/maplibre-gl-js/pull/3130)) - Support custom raster-dem encodings ([#3087](https://togithub.com/maplibre/maplibre-gl-js/pull/3087)) ##### 🐞 Bug fixes - Fixed Interrupting a scroll zoom causes the next scroll zoom to return to the prior zoom level by reseting scroll handler state properly ([#2709](https://togithub.com/maplibre/maplibre-gl-js/issues/2709), [#3051](https://togithub.com/maplibre/maplibre-gl-js/pull/305)) - Fix unit test warning about duplicate module names ([#3049](https://togithub.com/maplibre/maplibre-gl-js/pull/3049)) - Correct marker position when switching between 2D and 3D view ([#2996](https://togithub.com/maplibre/maplibre-gl-js/pull/2996)) - Fix error thrown when unsetting line-gradient \[[#2683](https://togithub.com/maplibre/maplibre-gl-js/issues/2683)] - Update raster tile end points in documentation - Avoiding inertia animation on Mac when reduced motion is on ([#3068](https://togithub.com/maplibre/maplibre-gl-js/pull/3068)) - 3d buildings example doesn't work as expected ([#3165](https://togithub.com/maplibre/maplibre-gl-js/pull/3165)) ### [`v3.3.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#331) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.3.0...v3.3.1) ##### ✨ Features and improvements - Copy LICENSE.txt to dist folder so it's included in 3rdpartylicenses.txt by webpack ([#3021](https://togithub.com/maplibre/maplibre-gl-js/pull/3021)) ##### 🐞 Bug fixes - Correct declared return type of `Map.getLayer()` and `Style.getLayer()` to be `StyleLayer | undefined` to match the documentation ([#2969](https://togithub.com/maplibre/maplibre-gl-js/pull/2969)) - Correct type of `Map.addLayer()` and `Style.addLayer()` to allow adding a layer with an embedded source, matching the documentation ([#2966](https://togithub.com/maplibre/maplibre-gl-js/pull/2966)) - Throttle map resizes from ResizeObserver to reduce flicker ([#2986](https://togithub.com/maplibre/maplibre-gl-js/pull/2986)) - Correct function `Map.setTerrain(options: TerrainSpecification): Map` to be `Map.setTerrain(options: TerrainSpecification | null): Map` per the API spec ([#2993](https://togithub.com/maplibre/maplibre-gl-js/pull/2993)) - Correct function `Map.getTerrain(): TerrainSpecification` to be `Map.getTerrain(): TerrainSpecification | null` for consistency with the setTerrain function ([#3020](https://togithub.com/maplibre/maplibre-gl-js/pull/3020)) ### [`v3.3.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#330) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.2.2...v3.3.0) ##### ✨ Features and improvements - Add support for [`text-variable-anchor-offset`](https://maplibre.org/maplibre-style-spec/layers/#layout-symbol-text-variable-anchor-offset) symbol style layer property ([#2914](https://togithub.com/maplibre/maplibre-gl-js/pull/2914)) ### [`v3.2.2`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.2.1...v3.2.2) ##### ✨ Features and improvements - Add `cache` parameter to [`RequestParameters`](https://maplibre.org/maplibre-gl-js/docs/API/types/maplibregl.RequestParameters/) ([#2910](https://togithub.com/maplibre/maplibre-gl-js/pull/2910)) - Removed some classed from the docs to better define the public API ([#2945](https://togithub.com/maplibre/maplibre-gl-js/pull/2945)) ##### 🐞 Bug fixes - Properly check ImageBitmap ([#2942](https://togithub.com/maplibre/maplibre-gl-js/pull/2942), [#2940](https://togithub.com/maplibre/maplibre-gl-js/issues/2940)) - VectorTileWorkerSource: fix reload for original's load parse would not pass the rawTileData and meta. ([#2941](https://togithub.com/maplibre/maplibre-gl-js/pull/2941)) ### [`v3.2.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.2.0...v3.2.1) ##### ✨ Features and improvements - Remove cooperative gesture screen from the accessibility tree since screenreaders cannot interact with the map using gestures - Add `cooperated gestures` example to the doc.([#2860](https://togithub.com/maplibre/maplibre-gl-js/pull/2860)) ##### 🐞 Bug fixes - Incorrect distance field of view calculation for negative elevation, fixed by storing min elevation for the tile in view ([#1655](https://togithub.com/maplibre/maplibre-gl-js/issues/1655), [#2858](https://togithub.com/maplibre/maplibre-gl-js/pull/2858)) - Fix reloadCallback not firing on VectorTileWorkerSource.reloadTile ([#1874](https://togithub.com/maplibre/maplibre-gl-js/pull/1874)) - Don't draw halo pixels underneath text pixels ([#2897](https://togithub.com/maplibre/maplibre-gl-js/pull/2897)) - Fix RasterDEMTileSource not serializing its options correctly ([#2895](https://togithub.com/maplibre/maplibre-gl-js/pull/2895)) - Remove node and jest from dist type checking, fix map event and other typing problems ([#2898](https://togithub.com/maplibre/maplibre-gl-js/pull/2898)) ### [`v3.2.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.1.0...v3.2.0) ##### ✨ Features and improvements - Change all internal exports to named exports([#2711](https://togithub.com/maplibre/maplibre-gl-js/pull/2711)) - Docs generation is now part of this repo([#2733](https://togithub.com/maplibre/maplibre-gl-js/pull/2733)) - Add `className` option to Marker constructor ([#2729](https://togithub.com/maplibre/maplibre-gl-js/pull/2729)) - Immediately redraw the map after setting pixel ratio ([#2674](https://togithub.com/maplibre/maplibre-gl-js/pull/2673)) - Add maxCanvasSize option to limit canvas size. It can prevent reaching the GL limits and reduce the load on the devices. Default value is \[4096, 4096]. - Reduce maxCanvasSize when hitting GL limits to avoid distortions ([#2674](https://togithub.com/maplibre/maplibre-gl-js/pull/2673)) - Rewrite all the code comments in TSDocs, introduced a new documentaiton system and moved examples into this repository for better debug options ([#2756](https://togithub.com/maplibre/maplibre-gl-js/pull/2756)) - ⚠️ Removed non documented `Marker` constructor parameter ([#2756](https://togithub.com/maplibre/maplibre-gl-js/pull/2756)) - Updated `check-for-support` example ([#2859](https://togithub.com/maplibre/maplibre-gl-js/pull/2859)) ##### 🐞 Bug fixes - Return undefined instead of throwing from `Style.serialize()` when the style hasn't loaded yet ([#2712](https://togithub.com/maplibre/maplibre-gl-js/pull/2712)) - Don't throw an exception from `checkMaxAngle` when a label with length 0 is on the last segment of a line ([#2710](https://togithub.com/maplibre/maplibre-gl-js/pull/2710)) - Fix the `tap then drag` zoom gesture detection to abort when the two taps are far away ([#2673](https://togithub.com/maplibre/maplibre-gl-js/pull/2673)) - Fix regression - update pixel ratio when devicePixelRatio changes, restoring the v1.x behaviour ([#2706](https://togithub.com/maplibre/maplibre-gl-js/issues/2706)) - Fix incorrect elevation calculation \[[#2772](https://togithub.com/maplibre/maplibre-gl-js/issues/2772)] ### [`v3.1.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#310) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.0.1...v3.1.0) ##### ✨ Features and improvements - Expose map options.maxTileCacheZoomLevels to allow better control of tile cache ([#2581](https://togithub.com/maplibre/maplibre-gl-js/pull/2581)) ##### 🐞 Bug fixes - Fix regression - Add webgl1 fallback to accomondate users without webgl2 support ([#2653](https://togithub.com/maplibre/maplibre-gl-js/issues/2653)) ### [`v3.0.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#301) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v3.0.0...v3.0.1) ##### ✨ Features and improvements - Update shaders to GLSL ES 3.0 ([#2599](https://togithub.com/maplibre/maplibre-gl-js/pull/2599)) ##### 🐞 Bug fixes - Fix `RequestTransformFunction` type to return RequestParameters or undefined ([#2586](https://togithub.com/maplibre/maplibre-gl-js/pull/2586)) - Load `EXT_color_buffer_float` WebGL2 extension to fix heatmap in firefox ([#2595](https://togithub.com/maplibre/maplibre-gl-js/pull/2595)) ### [`v3.0.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#300) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.4.0...v3.0.0) ### [`v2.4.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#240) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.3.0...v2.4.0) ##### ✨ Features and improvements - Added calculateCameraOptionsFromTo to camera ([#1427](https://togithub.com/maplibre/maplibre-gl-js/pull/1427)) - Improve expression types ([#1510](https://togithub.com/maplibre/maplibre-gl-js/pull/1510)) - Improve performance for primitive size selection ([#1508](https://togithub.com/maplibre/maplibre-gl-js/pull/1508)) - Upgrade target from ES2017 to ES2019 ([#1499](https://togithub.com/maplibre/maplibre-gl-js/pull/1499)) - Improve error handling ([#1485](https://togithub.com/maplibre/maplibre-gl-js/pull/1485)) - Removed `_interpolationType` unused field ([#264](https://togithub.com/maplibre/maplibre-gl-js/issues/264)) ##### 🐞 Bug fixes - Fix attribution not being displayed for terrain ([#1516](https://togithub.com/maplibre/maplibre-gl-js/pull/1516)) - No triggering of contextmenu after rotate, pitch, etc. also on Windows ([#1537](https://togithub.com/maplibre/maplibre-gl-js/pull/1537)) ### [`v2.3.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#230) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.2.1...v2.3.0) ##### ✨ Features and improvements - Re-enable method to get library version. Either with `import {version} from 'maplibre-gl'`, or on a Map instance as `map.version`. ### [`v2.2.1`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#221) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.2.0...v2.2.1) ##### 🐞 Bug fixes - Fix types generation and make sure they run as part of the CI ([#1462](https://togithub.com/maplibre/maplibre-gl-js/issues/1462), [#1465](https://togithub.com/maplibre/maplibre-gl-js/pull/1465)) ### [`v2.2.0`](https://togithub.com/maplibre/maplibre-gl-js/blob/HEAD/CHANGELOG.md#220) [Compare Source](https://togithub.com/maplibre/maplibre-gl-js/compare/v2.1.9...v2.2.0) Everything from the four previous pre-releases: ##### ✨ Features and improvements - Update `icon-padding` symbol layout property to support asymmetric padding ([#1289](https://togithub.com/maplibre/maplibre-gl-js/pull/1289)) - Added `cooperativeGestures` option when instantiating map to prevent inadvertent scrolling/panning when navigating a page where map is embedded inline ([#234](https://togithub.com/maplibre/maplibre-gl-js/issues/234)) - Improve filter specification typings ([#1390](https://togithub.com/maplibre/maplibre-gl-js/pull/1390)) - Add 3D terrain capabilities ([#165](https://togithub.com/maplibre/maplibre-gl-js/pull/165), [#1022](https://togithub.com/maplibre/maplibre-gl-js/pull/1022)) - Cancel pending GeoJSON requests when `GeoJSONSource.setData()` is called instead of waiting for any pending request to complete before issuing the request for the new URL ([#1102](https://togithub.com/maplibre/maplibre-gl-js/pull/1102)) ##### 🐞 Bug fixes - Fix compact attribution style when using global CSS that sets `box-sizing: border-box;` ([#1250](https://togithub.com/maplibre/maplibre-gl-js/pull/1250)) - Handle maxBounds which cross the meridian at longitude ±180° ([#1298](https://togithub.com/maplibre/maplibre-gl-js/pull/1298), [#1299](https://togithub.com/maplibre/maplibre-gl-js/pull/1299)) - Hide arrow displayed in default `summary` styles on the attribution control ([#1258](https://togithub.com/maplibre/maplibre-gl-js/pull/1258)) - Fix memory usage in terrain 3D ([#1291](https://togithub.com/maplibre/maplibre-gl-js/issues/1291), [#1302](https://togithub.com/maplibre/maplibre-gl-js/pull/1302)) - Fix disappearence of closest tiles when 3D terrain is enabled ([#1241](https://togithub.com/maplibre/maplibre-gl-js/issues/1241), [#1300](https://togithub.com/maplibre/maplibre-gl-js/pull/1300))Configuration
📅 Schedule: Branch creation - "every 2 weeks on Monday before 7am" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.