Title: Bump mapbox-gl from 1.12.0 to 2.1.0 by dependabot[bot] · Pull Request #243 · SuperMap/iClient-JavaScript · GitHub
Open Graph Title: Bump mapbox-gl from 1.12.0 to 2.1.0 by dependabot[bot] · Pull Request #243 · SuperMap/iClient-JavaScript
X Title: Bump mapbox-gl from 1.12.0 to 2.1.0 by dependabot[bot] · Pull Request #243 · SuperMap/iClient-JavaScript
Description: Bumps mapbox-gl from 1.12.0 to 2.1.0. Release notes Sourced from mapbox-gl's releases. v2.1.0 ✨ Features and improvements Added localFontFamily map option that enables local generation of all font glyphs. (#10298) Introduced high resolution local glyph generation for improved rendering quality of glyphs generated using localIdeographFontFamily or localFontFamily options. (#10298) Added optimizeForTerrain map option allowing to use terrain in layer draw-order or performance priority mode. This fixes terrain not always preserving layer draw-order during animations by making the behavior explicit. (#10258) Improved performance by slightly shifting the horizon down, reducing the number of tiles loaded for highly-pitched maps. (#10304) Improved evented.once(eventName) to return a promise if no listener function is provided, which allows using async/await with map events for a simpler and more readable code. (#10203) 🐞 Bug fixes Fixed querying of fill-extrusions when terrain is enabled. (#10293) Fixed a bug where close points were sometimes not clustered on higher zoom levels given a small clustering radius. Fixed clusterMaxZoom so that it is not capped by the source maxzoom. (#10300) Fixed blurry map-aligned labels on highly pitched maps with terrain. (#10296) Fixed a race condition when evaluating image expressions by ensuring sprite has loaded before parsing tiles. (#10294) Fixed a bug with fullscreen fill-extrusion querying at low pitch. (#10315) Fixed a regression with the usage of patterns with data-driven styling. (#10284) Ensure evented.listens returns false when no listener is available. (#10281) v2.1.0-beta.1 No release notes provided. v2.0.1 ✨ Features and improvements Added support for using third-party worker-loader plugins in build systems such as Webpack and Rollup (mapboxgl.workerClass). #10219 Added mapboxgl.setNow and mapboxgl.restoreNow methods which allow setting custom animation timing for 60 fps, jank-free video recording. #10172 Removed outdated CSS hacks that no longer apply. #10202 🐞 Bug fixes Fixed a bug where ImageSource and dynamically loaded icons didn't work in some cases in Firefox and Safari. #10230 Fixed a bug where map.unproject and map.panBy acted unpredictably in certain cases. #10224 Fixed a bug where the sky layer didn't take map padding into account. #10201 Fixed a bug where map.setStyle couldn't be used to enable terrain. #10177 Fixed a bug where mouse events didn't properly fire during zoom scrolling. #10171 v2.0.0 ⚠️ Breaking changes mapbox-gl-js is no longer under the 3-Clause BSD license. By upgrading to this release, you are agreeing to Mapbox terms of service. Refer to LICENSE.txt for the new licensing terms and details. For questions, contact our team at https://support.mapbox.com. Beginning with v2.0.0, a billable map load occurs whenever a Map object is initialized. Before updating an existing implementation from v1.x.x to v2.x.x, please review the pricing documentation to estimate expected costs. Deprecate Internet Explorer 11, no longer supported from this release. (#8283, #6391) Support for unlocked pitch up to 85°. The default maxPitch is increased from 60° to 85° which can result in viewing above the horizon line. By default, this area will be drawn transparent but a new sky layer can be added to the map in order to fill this space. The legacy behavior can be achieved by simply adding maxPitch: 60 to the map options when instantiating your map. ✨ Features and improvements Add 3D terrain feature. All layer types and markers can now be extruded using the new terrain root level style-spec property or with the function map.setTerrain(). (#1489) Add support for unlocked pitch up to 85° (previously 60°). (#3731) Add a new sky layer acting as an infinite background above the horizon line. This layer can be used from the style-spec and has two types: atmospheric and gradient. ... (truncated) Changelog Sourced from mapbox-gl's changelog. 2.1.0 ✨ Features and improvements Added localFontFamily map option that enables local generation of all font glyphs. (#10298) Introduced high resolution local glyph generation for improved rendering quality of glyphs generated using localIdeographFontFamily or localFontFamily options. (#10298) Added optimizeForTerrain map option allowing to use terrain in layer draw-order or performance priority mode. This fixes terrain not always preserving layer draw-order during animations by making the behavior explicit. (#10258) Improved performance by slightly shifting the horizon down, reducing the number of tiles loaded for highly-pitched maps. (#10304) Improved evented.once(eventName) to return a promise if no listener function is provided, which allows using async/await with map events for a simpler and more readable code. (#10203) 🐞 Bug fixes Fixed querying of fill-extrusions when terrain is enabled. (#10293) Fixed a bug where close points were sometimes not clustered on higher zoom levels given a small clustering radius. Fixed clusterMaxZoom so that it is not capped by the source maxzoom. (#10300) Fixed blurry map-aligned labels on highly pitched maps with terrain. (#10296) Fixed a race condition when evaluating image expressions by ensuring sprite has loaded before parsing tiles. (#10294) Fixed a bug with fullscreen fill-extrusion querying at low pitch. (#10315) Fixed a regression with the usage of patterns with data-driven styling. (#10284) Ensure evented.listens returns false when no listener is available. (#10281) 2.0.1 ✨ Features and improvements Added support for using third-party worker-loader plugins in build systems such as Webpack and Rollup (mapboxgl.workerClass). (#10219) Added mapboxgl.setNow and mapboxgl.restoreNow methods which allow setting custom animation timing for 60 fps, jank-free video recording. (#10172) Removed outdated CSS hacks that no longer apply. (#10202) 🐞 Bug fixes Fixed a bug where ImageSource and dynamically loaded icons didn't work in some cases in Firefox and Safari. (#10230) Fixed a bug where map.unproject and map.panBy acted unpredictably in certain cases. (#10224) Fixed a bug where the sky layer didn't take map padding into account. (#10201) Fixed a bug where map.setStyle couldn't be used to enable terrain. (#10177) Fixed a bug where mouse events didn't properly fire during zoom scrolling. (#10171) 2.0.0 ⚠️ Breaking changes mapbox-gl-js is no longer under the 3-Clause BSD license. By upgrading to this release, you are agreeing to Mapbox terms of service. Refer to LICENSE.txt for the new licensing terms and details. For questions, contact our team at https://support.mapbox.com. Beginning with v2.0.0, a billable map load occurs whenever a Map object is initialized. Before updating an existing implementation from v1.x.x to v2.x.x, please review the pricing documentation to estimate expected costs. Deprecate Internet Explorer 11, no longer supported from this release. (#8283, #6391) Support for unlocked pitch up to 85°. The default maxPitch is increased from 60° to 85° which can result in viewing above the horizon line. By default, this area will be drawn transparent but a new sky layer can be added to the map in order to fill this space. The legacy behavior can be achieved by simply adding maxPitch: 60 to the map options when instantiating your map. ✨ Features and improvements Add 3D terrain feature. All layer types and markers can now be extruded using the new terrain root level style-spec property or with the function map.setTerrain(). (#1489) Add support for unlocked pitch up to 85° (previously 60°). (#3731) ... (truncated) Commits b962951 Out of beta cycle (#10352) 9d5bb34 v2.1.0 + style-spec v13.19.0 changelogs (#10336) 82e5c24 Bump tiny-sdf version for an RTL glyph width fix. (#10328) d0fbc98 shift horizon towards center to reduce the number of tiles loaded (#10304) edc17c2 Wait for sprite to load before parsing tiles (#10294) 0406574 Add a few more pages (#10327) 51510e8 Port high resolution local SDFs (#10298) 81978c8 Fix fullscreen fill-extrusion querying at low pitch (#10315) b5eeddb Fix incorrect order of pattern attribute (#10284) a0ffa40 Guard against no prior check being found in check-bundle-size (#10320) Additional commits viewable in compare view Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase. Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: @dependabot rebase will rebase this PR @dependabot recreate will recreate this PR, overwriting any edits that have been made to it @dependabot merge will merge this PR after your CI passes on it @dependabot squash and merge will squash and merge this PR after your CI passes on it @dependabot cancel merge will cancel a previously requested merge and block automerging @dependabot reopen will reopen this PR if it is closed @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Open Graph Description: Bumps mapbox-gl from 1.12.0 to 2.1.0. Release notes Sourced from mapbox-gl's releases. v2.1.0 ✨ Features and improvements Added localFontFamily map option that enables local generation of al...
X Description: Bumps mapbox-gl from 1.12.0 to 2.1.0. Release notes Sourced from mapbox-gl's releases. v2.1.0 ✨ Features and improvements Added localFontFamily map option that enables local generation o...
Opengraph URL: https://github.com/SuperMap/iClient-JavaScript/pull/243
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:0b0bc804-af03-ebc5-8082-fda8fe721d95 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | AF40:17F901:A0ADE:CAC3A:6991559B |
| html-safe-nonce | b714435e7436ef61ef57c145bdaa788479489a121da25383ee368e9d3871439b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjQwOjE3RjkwMTpBMEFERTpDQUMzQTo2OTkxNTU5QiIsInZpc2l0b3JfaWQiOiI4NDU2ODgzMDYxMDYxMTQ2MDExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ab530c4d4972d3e590d593f510e00612eb20e6b232b60881ebce41907ba1809b |
| hovercard-subject-tag | pull_request:568135416 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/SuperMap/iClient-JavaScript/pull/243/checks |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps mapbox-gl from 1.12.0 to 2.1.0. Release notes Sourced from mapbox-gl's releases. v2.1.0 ✨ Features and improvements Added localFontFamily map option that enables local generation of al... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/SuperMap/iClient-JavaScript git https://github.com/SuperMap/iClient-JavaScript.git |
| octolytics-dimension-user_id | 2839337 |
| octolytics-dimension-user_login | SuperMap |
| octolytics-dimension-repository_id | 99533003 |
| octolytics-dimension-repository_nwo | SuperMap/iClient-JavaScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 99533003 |
| octolytics-dimension-repository_network_root_nwo | SuperMap/iClient-JavaScript |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width