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.
Supporting organizations:
sponsors development and maintenance
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.Maintenance fixes only
Considered feature-complete by its maintainers.12 sites report using this module
- Created by tanc on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
2.0.0-beta1
released 29 July 2026
Works with Drupal: ^8 || ^9 || ^10 || ^11
Install:
Development version: 2.x-dev updated 29 Jul 2026 at 12:19 UTC



