Skip to content

Releases: Patternslib/pat-leaflet

Release 2.2.2-alpha.0

01 Sep 14:33

Choose a tag to compare

Release 2.2.2-alpha.0 Pre-release
Pre-release

2.2.2-alpha.0 (2025-09-01)

Features

  • Allow to pass a marker image url via the features properties data structure including icon size, icon anchor and popup anchor sizes. In that case, the marker will be created from that image url. (a99987a)

Maintenance

  • Demo: Do a more minimal example for the minimal example. (255ae60)

  • Don't modify the original options object. (ddde04f)

Release 2.2.1

25 Aug 15:46

Choose a tag to compare

2.2.1 (2025-08-25)

Bug Fixes

  • Correctly initialize leaflet.locatecontrol. (23caf0c)

  • Demo: Do not use an outdated jsdelivr Patternslib host bundle. Just use the leaflet bundle, which includes all we need. This fixes a problem popping up with the registration of the obscure focus pattern in the Patternslib registry. (335e829)

  • Fix eslint warnings. (755808a)

  • Run prettier. (bd08d34)

Maintenance

  • @patternslib/dev upgrade - create eslint.config.js. (937748e)

  • @patternslib/dev upgrade - remove .husky directory in favor of git hooks. (077d3af)

  • @patternslib/dev upgrade - remove old .eslintrc.js. (2b638b6)

  • Update GHA node version. (f4c4c80)

  • Update Makefile after upgrading @patternslib/dev. (70dddad)

  • Upgrade dependencies. (9e25db4)

Release 2.2.0

27 Aug 06:29

Choose a tag to compare

2.2.0 (2024-08-27)

Features

  • Add option "useCluster" for switching marker cluster on or off. (57d1242)

Bug Fixes

  • Stamen Toner has moved to Stadia Maps payed service. (9849b14)

Maintenance

  • dependency upgrades (67e11f0)

  • Explicitly set the module federation bundle name for clarity. (2f18a99)

  • Update documentation. (24ac976)

  • Upgrade dependencies. (2aee74c)

  • Use new style class options. (a157701)

Release 2.1.1

14 Feb 00:26

Choose a tag to compare

2.1.1 (2023-02-14)

Features

Bug Fixes

  • zoom level with markers (dd58ddc)

Maintenance

Release 2.1.0

23 Dec 15:46

Choose a tag to compare

2.1.0 (2022-12-23)

Breaking Changes

  • parse data-geojson attribute always as JSON object and implement new option geojson_ajaxurl for remote geojson data (f0eaf4f)

Maintenance

  • Change to class based pattern. (6a10fb0)

  • Include dist/ and src/ directories in the npm package. (613fe86)This includes the compiled bundle in the npm package and makes it
    available via:

https://cdn.jsdelivr.net/npm/@patternslib/[email protected]/dist/bundle.min.js
and
https://unpkg.com/@patternslib/[email protected]/dist/bundle.min.js

  • Refine browserlist with official recommendation. (9520efe)

  • Set map height to minimum 400 pixel, so that is easier to override. (442bde5)

  • Upgrade dependencies. (ce5b3a3)

Release 2.0.0

27 Sep 15:54

Choose a tag to compare

2.0.0 (2022-09-27)

Breaking Changes

  • Upgrade Pattern to ES6 based Patternslib. (1f073b6)

Maintenance

  • Add infrastructure files. (9780063)

  • Modernize - Reduce dependency on jQuery. (81fd1a0)

  • Modernize - replace self with this. (40d2bcd)

  • Modernize - replace $.ajax with fetch. (4f89206)

  • Modernize - Use const/let instead of var. (6471b64)

  • Modernize - Use dynamic imports and import only what is needed. (d26ded3)

  • Modernize - Use Patternslib code style functions. (a4fae68)