Releases: maplibre/maplibre-gl-js
Releases · maplibre/maplibre-gl-js
v2.1.2
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.1.1:
Features and improvements
- Default compact attribution to be open by default to comply with OpenSteetMap Attribution Guidelines (#795)
- Export
Sourceclasses (GeoJSONSourceetc.) declarations. (#801) - Make
AJAXErrorpublic so error HTTP responses can be handled differently from other errors.
🐞 Bug fixes
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-overlapandtext-overlapsymbol layout properties #347 - Deprecate
icon-allow-overlapandtext-allow-overlapsymbol layout properties.icon-overlapandtext-overlapare their replacements. - Remove node package chalk from devDependencies (#789).
- Allow setting a custom pixel ratio by adding a
MapOptions#pixelRatioproperty and aMap#setPixelRatiomethod. Since a highdevicePixelRatiovalue 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
addProtocolandremoveProtocol.
v2.0.1
https://github.com/maplibre/maplibre-gl-js
Changes since MapLibre GL JS v2.0.0:
🐞 Bug fixes
- Fix documentation of
addProtocolandremoveProtocol.
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
versionfrom the public API - ** Breaking Change ** stopped supporting IE (internet explorer)
- ** Breaking Change ** removed all code related to
accessTokenand Mapbox specific urls starting withmapbox://. Telemetry and tracking code was removed. - ** Breaking Change ** removed
baseApiUrlas it was used only for Mapbox related urls - ** Breaking Change ** typescript typings have changed:
Style=>StyleSpecificationAnyLayer=>LayerSpecificationAnySourceData=>SourceSpecificationMapboxEvent=>MapLibreEventMapboxOptions=>MapOptionsMapBoxZoomEvent=>MapLibreZoomEvent*SourceRaw+*SourceOptions=>*SourceSpecification*Source(source implementation definition) were removed*Layer=>*LayerSpecification*Paint=>*LayerSpecification['paint']*Layout=>*LayerSpecification['layout']MapboxGeoJSONFeature=>GeoJSONFeature
- Added
redrawfunction 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)
getImageuses 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