Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Leaflet TopoJSON

Security covered Maintenance fixes only 14 sites

Part of the Leaflet ecosystem · 14 projects

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.

Ask your assistant about Leaflet TopoJSON

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
4
Tracked since
Mar 2024
Latest release
2 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0-beta1 Pre-release 8–11 Jul 29, 2026
2.0.0-alpha2 Pre-release 8–10 Mar 14, 2024
2.x-dev Dev 8–11 Mar 14, 2024
2.0.0-alpha1 Pre-release 8–10 Mar 14, 2024