Drupal is a registered trademark of Dries Buytaert
External Authentication Module externalauth crossed 100,000 active installs. Leaflet MapBox 2.0.2 Minor update available for module leaflet_mapbox (2.0.2). Module Builder 4.2.4 Minor update available for module module_builder (4.2.4). HTTP Anti-virus 1.1.5 Minor update available for module httpav (1.1.5). HTTP Anti-virus 1.3.3 Minor update available for module httpav (1.3.3). Commerce Make-to-Order 1.0.1 Minor update available for module commerce_make_to_order (1.0.1). Burndown 1.0.72 Minor update available for module burndown (1.0.72). GEO Starter JSON-LD 1.2.0 Minor update available for module geo_starter_jsonld (1.2.0). ePub Generator 1.0.0 Initial release available for module epub_generator (1.0.0)! Simple Google Maps 4.0.1 Module simple_gmap updated after 17 months of inactivity (4.0.1).

This module integrates OpenFreeMap's free, open-source vector tile map styles into Drupal's Leaflet module. It offers three distinct styles (Liberty, Positron, and Bright) that can be selected for use in Leaflet maps without requiring an API key.

Adds OpenFreeMap vector tile map styles to the
Leaflet module. OpenFreeMap is a
fully open-source, free-to-use tile service with no API key required.

Three styles are provided:

  • Liberty — full-detail default style (recommended)
  • Positron — ultra-clean, minimal style
  • Bright — high-contrast style

Tiles are rendered using MapLibre GL via the leaflet-maplibre-gl plugin,
which is bundled with the Leaflet contrib module.

Requirements

  • Leaflet 10.x
    (must include MapLibre GL JS and leaflet-maplibre-gl — available from
    Leaflet bundled libraries)
  • Drupal 10.2+ or Drupal 11

Installation

  • Enable the module with Drush: drush pm:enable leaflet_openfreemap
  • No API key or external account is required.

Configuration

After enabling the module, the three OpenFreeMap map styles will appear in any
Leaflet map selector (e.g. Leaflet formatter, Geofield map widget). Select one
of the OpenFreeMap options from the map dropdown.

Activity

Total releases
2
First release
Apr 2026
Latest release
1 week ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.0-rc1 Pre-release Jul 10, 2026
1.0.x-dev Dev Apr 22, 2026