Skip to content

Latest commit

 

History

History
173 lines (78 loc) · 5.82 KB

CHANGES.md

File metadata and controls

173 lines (78 loc) · 5.82 KB

Changelog

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)

2.1.1 (2023-02-14)

Features

Bug Fixes

  • zoom level with markers (dd58ddc)

Maintenance

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)

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)

1.4.0

  • Fix a problem with map_layers option when it's a list of ids and no title was generated for the baseLayers object. [thet]

  • Add some nicer, opinionated styles for the popup close button. [thet]

  • Add option to add some padding to fitBounds with a default of 20. This brings search result on corners more in the map. [thet]

  • Add extraClasses property to marker icons creation. This allows for extra classes like a marker uuid to work with. [thet]

  • Add feature to load external geoJSON data via AJAX [petschki]

1.3.0

  • Add maxClusterRadius option for the marker cluster plugin. Default is 80 (pixels). [thet]

  • Add color options to feature properties to explicitly set the marker color. color must be one of the predefined colors blue, red, darkred, orange, green, darkgreen, blue, purple, darkpurple, cadetblue from https://github.com/lvoogdt/Leaflet.awesome-markers [thet]

  • Add create_marker factory function instead of predefining "awesome marker" instances. [thet]

1.2.0

  • Fire moveend and zoomend on the pattern root element. [thet]

1.1.0

  • Allow optional arguments in pat-leaflet for tile providers that require registration (Fix plone/plone.patternslib#24) [pbauer]

  • Update bower dependencies to last working versions. [thet]

1.0.0 (2017-02-24)

  • Initial release. [thet]

0.0.1 (2016-01-11)

  • Start of everything. [thet]