Drupal advanced integration with the Leaflet JS mapping library.
A Modern, Lightweight Open-Source JavaScript Library for Interactive Web Mapping
Drupal Leaflet module is dependant from the Geofield module.

Leaflet versions for Drupal 8, 9 & 10

>> Drupal 9 Live Demo <<


LATEST NEWS

November 2022:

Leaflet 10.0.x

is out, with full support for Drupal 10 (and 9), backword comaptibility with Leafalet 2.2.x and a lot of cool enhancements and refinements.

Refer to #3323438 Leaflet project issue for more info.

The droptimes.com article on Leaflet 10.0.x Release.

Features and Options

Installation and Use

Require/Download the Leaflet module using Composer, which is simply running the following command from your project package root (where the main composer.json file is sited):

composer require drupal/leaflet

which will also download the required Geofield Module dependency (and GeoPHP library).

Read the instructions in the Readme.md file for further details, on how to enable the Leaflet module and its submodules.

Additional Drupal Integrations

Leaflet module works well with the following modules; D8 version started by RdeBoer of flink, and evolved to maturity by Itamair.

The Drupal 7 version of Leaflet

The Leaflet module features: Some modules that build on Leaflet, adding various features: D7 version originally developed by ThinkShout and @pvhee (from Marzee Labs) with lots of help from the community.