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)
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)
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.8.
Release notes
Sourced from maplibre-gl's releases.
Changelog
Sourced from maplibre-gl's changelog.
Commits
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)bd51c11
update v8 specification feature-state docs (#1165)fa270bd
Type CustomLayerInterface renderingMode, onRemove, onAdd, and prerender optio...611f182
Logo changelog (#1163)1f12397
Logo control modification (#786)416aadc
fix style-spec module filename (#1128)f637c03
Bump eslint from 8.10.0 to 8.12.0 (#1157)cb34b8e
Bump@typescript-eslint/eslint-plugin
from 5.14.0 to 5.17.0 (#1156)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)