Drupal is a registered trademark of Dries Buytaert
cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.15 Minor update available for module linkit (7.0.15). views_data_export 8.x-1.10 Minor update available for module views_data_export (8.x-1.10).

leaflet_maptiler

28 sites Security covered
View on drupal.org

The purpose of this module is to provide an integration with Maptiler maps using Leaflet API.

Installation

Before you enable the Leaflet Maptiler module, you need to download and enable
the Leaflet module and the Libraries module.

Download Leaflet javascript library (Drupal 7 only)

Download the Leaflet javascript library from http://leafletjs.com/download.html. Drop the unzipped folder in sites/all/libraries and rename it to leaflet, so that the path to the essential javascript file becomes: sites/all/libraries/leaflet/leaflet.js

Final steps

If all's ok, you won't see any errors in the Status Report admin/reports/status.

After this, all you have to do is enable Leaflet Maptiler to enhance your
mapping experience using maps from Maptiler.

Usage

You select the map when you format a single field (eg Geofield) as a
map or when you format a View (of multiple nodes or users) as a map. The module
"IP Geolocation Views and Maps" is particularly good for this.

You can configure Maptiler the following settings in admin/config/leaflet_maptiler:

  • Maptiler API Key: your API key generated from Maptiler
  • Maptiler layers: the default layers provided by Maptiler. Note that the first layer will be the base layer of all maps. Custom layers are not yet supported.
  • Geocoder external library: currently it uses the external leaflet-control-geocoder library in order to retrieve the geocoding information when the user clicks on a marker.

Extras

There is a submodule (Leaflet Maptiler Token) that comes with this module and provides a token in order to render a map without the need of using an iFrame.

To install this module we can simply enable it like any other module.

After a successful installation, the new token will be available and can be used according to the following set of properties (separated by '+' sign) [maptiler:lat_lng_zoom_height:<latitude>+<longitude>+<zoom>+<height>], where:

  • Latitude: a decimal number that represents the latitude where the marker will be positioned;
  • Longitude: a decimal number that represents the longitude where the marker will be positioned;
  • Zoom: an integer that represents the initial value of zoom when viewing the map;
  • Height: an integer that represents the height (in pixels) of the map.

Note that to use tokens on rich text you'll have to install and configure token_filter (https://www.drupal.org/project/token_filter)

Activity

Total releases
2
First release
May 2026
Latest release
4 days ago
Release cadence
0 days
Stability
100% stable

Releases

Version Type Release date
2.0.2 Stable May 17, 2026
2.0.1 Stable May 17, 2026