Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

Leaflet TopoJSON

17 sites Security covered

Part of the Leaflet ecosystem · 12 projects

View on drupal.org

This module extends the Leaflet library in Drupal to allow for the parsing and display of TopoJSON data, an efficient format for encoding geographic data that shares common line segments. It integrates the d3-topojson library to enable this functionality.

Introduction

TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. Read more about the TopoJSON format.

The leaflet library and Drupal module are not able to parse TopoJSON files so this helper module extends leaflet to handle TopoJSON.

About this module

This module provides:

  • TopoJSON extension to the leaflet Drupal library functions
  • Includes the external topojson library from d3 to make leaflet topojson aware

Installation

Installation can be done using any method but the recommended approach is to use composer.

Dependencies

The only dependency is on the leaflet module.

Usage

This module is currently only used by the leaflet countries module. There are no settings to configure.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jul 2026
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core Release date
2.0.0-beta1 Pre-release 8–11 Jul 29, 2026