Modern GIS Web Client for JavaScript, based on Leaflet\OpenLayers\MapboxGL-JS\Classic(iClient8C), enhanced with ECharts\D3\MapV etc. Contributed by SuperMap & community.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade maplibre-gl from 3.1.0 to 3.3.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
- The recommended version is **8 versions** ahead of your current version.
- The recommended version was released **2 months ago**, on 2023-08-29.
Release notes Package name: maplibre-gl
Copy LICENSE.txt to dist folder so it's included in 3rdpartylicenses.txt by webpack (#3021)
π Bug fixes
Correct declared return type of Map.getLayer() and Style.getLayer() to be StyleLayer | undefined to match the documentation (#2969)
Correct type of Map.addLayer() and Style.addLayer() to allow adding a layer with an embedded source, matching the documentation (#2966)
Throttle map resizes from ResizeObserver to reduce flicker (#2986)
Correct function Map.setTerrain(options: TerrainSpecification): Map to be Map.setTerrain(options: TerrainSpecification | null): Map per the API spec (#2993)
Correct function Map.getTerrain(): TerrainSpecification to be Map.getTerrain(): TerrainSpecification | null for consistency with the setTerrain function (#3020)
Add className option to Marker constructor (#2729)
Immediately redraw the map after setting pixel ratio (#2674)
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)
Rewrite all the code comments in TSDocs, introduced a new documentaiton system and moved examples into this repository for better debug options (#2756)
β οΈ Removed non documented Marker constructor parameter (#2756)
π Bug fixes
Return undefined instead of throwing from Style.serialize() when the style hasn't loaded yet (#2712)
Don't throw an exception from checkMaxAngle when a label with length 0 is on the last segment of a line (#2710)
Fix the tap then drag zoom gesture detection to abort when the two taps are far away (#2673)
Fix regression - update pixel ratio when devicePixelRatio changes, restoring the v1.x behaviour (#2706)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade maplibre-gl from 3.1.0 to 3.3.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.- The recommended version is **8 versions** ahead of your current version. - The recommended version was released **2 months ago**, on 2023-08-29.
Release notes
Package name: maplibre-gl
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v3.3.0:
β¨ Features and improvements
π Bug fixes
Map.getLayer()
andStyle.getLayer()
to beStyleLayer | undefined
to match the documentation (#2969)Map.addLayer()
andStyle.addLayer()
to allow adding a layer with an embedded source, matching the documentation (#2966)Map.setTerrain(options: TerrainSpecification): Map
to beMap.setTerrain(options: TerrainSpecification | null): Map
per the API spec (#2993)Map.getTerrain(): TerrainSpecification
to beMap.getTerrain(): TerrainSpecification | null
for consistency with the setTerrain function (#3020)Changes since MapLibre GL JS v3.2.2:
β¨ Features and improvements
text-variable-anchor-offset
symbol style layer property (#2914)Changes since MapLibre GL JS v3.2.1:
β¨ Features and improvements
cache
parameter toRequestParameters
(#2910)π Bug fixes
Changes since MapLibre GL JS v3.2.0:
β¨ Features and improvements
cooperated gestures
example to the doc.(#2860)π Bug fixes
Changes since MapLibre GL JS v3.1.0:
β¨ Features and improvements
className
option to Marker constructor (#2729)Marker
constructor parameter (#2756)π Bug fixes
Style.serialize()
when the style hasn't loaded yet (#2712)checkMaxAngle
when a label with length 0 is on the last segment of a line (#2710)tap then drag
zoom gesture detection to abort when the two taps are far away (#2673)* Bump version to 3.2.0-pre.2
* Fix docs links to examples folder (#2826)
* Fix docs links to examples folder
* update more links
* Fix lowercase Issue
---------
Co-authored-by: Birk Skyum <74932975+birkskyum@users.noreply.github.com>
Changes since MapLibre GL JS v3.0.1:
β¨ Features and improvements
π Bug fixes
Commit messages
Package name: maplibre-gl
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
π§ View latest project report
π Adjust upgrade PR settings
π Ignore this dependency or unsubscribe from future upgrade PRs