Changed logic for showing the Maplibre logo. The Maplibre logo is now shown by setting the map option 'maplibreLogo' to true or by adding it to a map with addControl. TileJSON no longer controls if the logo is shown. (#786)
π Bug fixes
Fix missing touchmove in MapTouchEvent["type"] (#1131)
Type CustomLayerInterface renderingMode, onRemove, onAdd, and prerender optional (#1122)
Add back typescript typings to dependencies instead of devDependencies (#1178)
2.1.8
β¨ Features and improvements
Changed logic for showing the Maplibre logo. The Maplibre logo is now shown by setting the map option 'maplibreLogo' to true or by adding it to a map with addControl. TileJSON no longer controls if the logo is shown. (#786)
π Bug fixes
Fix missing touchmove in MapTouchEvent["type"] (#1131)
Type CustomLayerInterface renderingMode, onRemove, onAdd, and prerender optional (#1122)
2.1.8-pre.3
π Bug fixes
Use correct location for mouse events of line layer with line-offset (#1108).
Change GeoJSONFeature.properties type from {} to { [name: string]: any; } (#1115).
Removal of the unminified production build target, so npm run build-prod will be the main build command going forward.
π Bug fixes
Dispose source resources on map style removal, it also fixes cannot read properties of undefined (reading 'sourceCaches') error (#1099).
Add MapGeoJSONFeature type as replacement for MapboxGeoJSONFeature. MapGeoJSONFeature type extends GeoJSONFeature type with layer, source, sourceLayer, and state properties (#1104).
Fix automatic refreshing of expired raster tiles (#1106)
Fix precision loss in some matrix calculations (#1105)
2.1.8-pre.1
β¨ Features and improvements
Add option viewport-glyph to text-rotation-alignment which places glyphs along a linestring and rotates them to the x-axis of the viewport (#716).
π Bug fixes
Change GeoJSONFeature.id type from number | string | void to number | string | undefined (#1093)
Add FeatureIdentifier type to define feature parameter in setFeatureState, removeFeatureState, and getFeatureState methods. Change FeatureIdentifier.id from id: string | number; to id?: string | number | undefined; (#1095)
Change map.on, map.off, and map.once type parameter from "type: MapEvent" to "type: MapEvent | string" (#1094)
Commits
2aa1ca3 Bump version to 2.1.9 and moved typings to dependencies
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)
Bumps maplibre-gl from 2.1.7 to 2.1.9.
Release notes
Sourced from maplibre-gl's releases.
Changelog
Sourced from maplibre-gl's changelog.
Commits
2aa1ca3
Bump version to 2.1.9 and moved typings to dependenciesc417645
Remove demo workflow (#1177)948ce95
add missing mockImplementation to avoid error output (#1176)01ddaa4
Move permissions to full workflow file (#1175)cb71f43
use --roots argument to jest instead of pattern (fixes #1167) (#1173)49b3274
Elevate demo permissions (#1174)c7f41ee
Create pull request demo on GitHub Pages (#1169)358fd68
Bump version to 2.1.8 (#1168)3037f91
Bump@βtypes/react-dom
from 17.0.13 to 17.0.14 (#1158)36cb233
Bump eslint-plugin-jsdoc from 37.9.7 to 38.1.4 (#1140)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)