Install

Works with Drupal: ^9 || ^10

Using Composer to manage Drupal site dependencies

Alternative installation files

Download leaflet-10.0.0.tar.gztar.gz 925.45 KB
MD5: 7dc4bf68d0c59470addaa972d7f0b2f1
SHA-1: 7f678c9aa9df47ed5b267238fb1dac11cd3dcfaa
SHA-256: f6b7c7e3677136f10106184e37e202f1b82c83682aa6cb598a3e99f06f1931ba
Download leaflet-10.0.0.zipzip 974.77 KB
MD5: e72f58f67b8d88bdbf787d2975fe3dd3
SHA-1: 93ccaf5ddbfa8dbd7114babf64e63847f28d9e63
SHA-256: d903b73a0e7ca25cd67a911996cfb1d94dd06247a91c536925af1c00d184f0e3

Release notes

10.0.0 release implemented functionalities:
- full support for Drupal 10;
- backward compatibility for Leaflet module 2.2.x
- implementation of Leaflet Views Grouping, reflecting into Leaflet Control Overlays, with:
- options to initially disable specific Groups and/or not include them in the Leaflet Overlays Control;
- Markerclustering support;
- specific/additional hook_leaflet_views_features_group_alter to alter Leaflet View Group definitions;
- featured implementation to dynamically exclude specific Leaflet Features from being Markercluster-ed (“Markercluster excluded” element/flag);
- full Implementation / support of Leaflet Tooltips (https://leafletjs.com/reference.html#tooltip), with custom Json options, tokens & replacements patterns;
- extended support for Leaflet Popups (https://leafletjs.com/reference.html#popup), with custom Json options, tokens & replacements patterns;
- full Implementation / support of User Location Control via Leaflet.Locate plugin (https://github.com/domoritz/leaflet-locatecontrol), with custom Json options, tokens & replacements patterns;
- full implementation / support for Reset Map View Control via Leaflet.ResetView plugin (https://github.com/drustack/Leaflet.ResetView), with custom Json options, tokens & replacements patterns;
- implementation of Leaflet Feature Additional Properties (with custom Json options, tokens & replacements patterns) for advanced and dynamic customisation of Leaflet Map and Features rendering logics;

Code Refactoring & clean up:
- cleanup / removal of deprecated and un-usable Leaflet Views plugins.
- extended refactoring of Leaflet module js code, to allow easier extension/customisation of Drupal.leaflet.prototype and Drupal.leaflet_widget.prototype methods, with extended objects, functions and methods documentation;
- embedding all Leaflet Js libraries dependencies into the the module, for better Ajax and advanced Fields Widgets compatibilities (Inline Entity Form, Paragraphs Widgets supports, etc.)
- general Drupal/PHP & JS better refactoring, complying with correct Coding Standards;

Readme.md file updated to include new 10.0.0 release istructions.

Created by: itamair
Created on: 22 Nov 2022 at 23:18 UTC
Last updated: 23 Nov 2022 at 04:30 UTC
Bug fixes
New features

Other releases