Summary
- Resolve a relative
ol:webfontsURL in a style's metadata against the style URL. - Do not share one style object between maps that load the same style URL at the same time. Before,
updateMapboxLayer()on one of them also changed the other. - Release layers and styles once they are no longer used. Before, every layer styled by
stylefunction()stayed in memory with its style and its map, even aftermap.dispose(). - Do not add an
idto style objects that have none. The generated id was only used internally as a cache key. - Do not share cached style values between style objects with the same
id. Before, a style could render with values cached for another style with the sameid, and hiding a layer withupdateMapboxLayer()on one map also hid it on other maps that loaded a copy of the same style. - Do not repeat failed requests for GeoJSON sources on every render. A failed extent now stays marked as loaded and is not retried automatically. To retry, call
source.refresh(), orsource.removeLoadedExtent(extent)followed bysource.changed().
What's Changed
- Do not infinitely retry failed GeoJSON requests by @ahocevar in #1557
- Release disposed maps and stop sharing caches between styles with the same id by @AlexianMasson in #1561
- Separate style copies when coming from shared requests by @ahocevar in #1562
- Bump @maplibre/maplibre-gl-style-spec from 26.4.2 to 26.4.4 by @dependabot[bot] in #1551
- Bump globals from 17.12.0 to 17.13.0 by @dependabot[bot] in #1552
- Bump eslint from 10.10.0 to 10.12.0 by @dependabot[bot] in #1553
- Bump mocha from 12.0.2 to 12.0.3 by @dependabot[bot] in #1554
- Bump markdown-it from 14.3.1 to 14.3.3 by @dependabot[bot] in #1556
- Bump launch-editor from 2.14.1 to 2.14.2 by @dependabot[bot] in #1558
- Bump serialize-javascript from 7.1.2 to 7.1.4 by @dependabot[bot] in #1559
- Bump follow-redirects from 1.16.0 to 1.16.2 by @dependabot[bot] in #1571
- Normalize webfonts url by @ahocevar in #1570
- build(deps): bump qs, body-parser and express by @dependabot[bot] in #1572
- Bump fast-uri from 3.1.7 to 3.1.9 by @dependabot[bot] in #1560
- Changes for v13.9.0 by @ahocevar in #1573
New Contributors
- @AlexianMasson made their first contribution in #1561
Full Changelog: v13.8.0...v13.9.0