Releases: maplibre/maplibre-gl-js
Releases · maplibre/maplibre-gl-js
v2.1.1
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.1.0:
🐞 Bug fixes
- Fix stale tiles being shown when calling VectorTileSource#setTiles while the map is moving.
v2.1.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.5:
✨ Features and improvements
- Add
icon-overlap
andtext-overlap
symbol layout properties #347 - Deprecate
icon-allow-overlap
andtext-allow-overlap
symbol layout properties.icon-overlap
andtext-overlap
are their replacements. - Remove node package chalk from devDependencies (#789).
- Allow setting a custom pixel ratio by adding a
MapOptions#pixelRatio
property and aMap#setPixelRatio
method. Since a highdevicePixelRatio
value can lead to performance and display problems, it is done at your own risk. (#769)
v2.0.5
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.4:
🐞 Bug fixes
- Remove list of node versions allowed to install the package.
v2.0.4
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.3:
🐞 Bug fixes
- Missing package.json file in version 2.0.3 dist in npm (#811) - this causes webpack to fail
v2.0.3
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.2:
Features and improvements
- Remove node package chalk from devDependencies (#789).
- Remove vector-tile module declaration and revert to using point from @mapbox/point-geometry (#788, #800)
- Moved development environemnt to use NodeJs 16 (#781, #806)
🐞 Bug fixes
- Fix max cluster zoom in geojson source (#61)
v2.0.2
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.0:
🐞 Bug fixes
- Fix documentation of
addProtocol
andremoveProtocol
.
v2.0.1
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.0:
🐞 Bug fixes
- Fix documentation of
addProtocol
andremoveProtocol
.
v2.0.0
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.0-pre.5:
Features and improvements
- Migrated the production code to typescript
- ** Breaking Change ** removed
version
from the public API - ** Breaking Change ** stopped supporting IE (internet explorer)
- ** Breaking Change ** removed all code related to
accessToken
and Mapbox specific urls starting withmapbox://
. Telemetry and tracking code was removed. - ** Breaking Change ** removed
baseApiUrl
as it was used only for Mapbox related urls - ** Breaking Change ** typescript typings have changed:
Style
=>StyleSpecification
AnyLayer
=>LayerSpecification
AnySourceData
=>SourceSpecification
MapboxEvent
=>MapLibreEvent
MapboxOptions
=>MapOptions
MapBoxZoomEvent
=>MapLibreZoomEvent
*SourceRaw
+*SourceOptions
=>*SourceSpecification
*Source
(source implementation definition) were removed*Layer
=>*LayerSpecification
*Paint
=>*LayerSpecification['paint']
*Layout
=>*LayerSpecification['layout']
MapboxGeoJSONFeature
=>GeoJSONFeature
- Added
redraw
function to map (#206) - Improve attribution controls accessibility. See #359
- Allow maxPitch value up to 85, use values greater than 60 at your own risk (#574)
getImage
uses createImageBitmap when supported (#650)
🐞 Bug fixes
- Fix warning due to strict comparison of SDF property in image sprite (#303)
- Fix tile placeholder replacement to allow for placeholders to be in a URL more than once. (#348)
- Fix type check for non dom environment. (#334)
- Fix precision problem in patterns when overzoomed in OpenGL ES devices.
- Fix padding-top of the popup to improve readability of popup text (#354).
- Fix GeoJSONSource#loaded sometimes returning true while there are still pending loads (#669)
- Fix MapDataEvent#isSourceLoaded being true in GeoJSONSource "dataloading" event handlers (#694)
- Fix events being fired after Map#remove has been called when the WebGL context is lost and restored (#726)
- Fix nested expressions types definition #757
Pre-release version
v2.0.0-pre.6
v2.0.0-pre.6
v2.0.0-pre.5
v2.0.0-pre.5