Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

GTFS Display Map

Security covered Under active development

Part of the Gtfs ecosystem · 8 projects

This module enhances GTFS Display by adding maps that visualize route shapes and stop locations from your imported transit feed. It uses MapLibre GL to render these elements over a customizable basemap, and allows for configurable tooltips when users interact with stops.

Adds maps to GTFS Display. Route shapes and stop geometry from your imported feed are drawn with MapLibre GL, over a basemap style you choose.

Features

  • A computed geodata field on GTFS rows, and a field formatter that renders it as a map — so a route or a stop can show its own geometry anywhere Drupal renders fields.
  • Route shapes drawn from the feed's own shapes.txt, with stop points alongside them.
  • A map tooltip view mode you can lay out per bundle, so what appears when someone taps a stop is a display setting rather than a template override.
  • One site-wide basemap style URL: change it once and every map follows.

Requirements

GTFS Display 3.x, which in turn requires GTFS Core and GTFS Realtime.

Installation

composer require drupal/gtfs_display_map

Configuration

Administration › GTFS › Displays › Map settings (/admin/gtfs/display/map/settings).

Basemap coverage

The default basemap style is hosted at styles.gtfs.media and currently covers California only. Planet-wide tiles are in progress. Until then, if you are mapping anywhere else, set your own style URL in the module settings — any MapLibre GL style will work, provided the host sends CORS headers.

For live vehicles on top of these maps, and for an embeddable map you can put in another site, see GTFS Display Map RT.

  • GTFS Core — the entities, the importer and the API everything else reads
  • GTFS Realtime — trip updates, vehicle positions and service alerts
  • GTFS Display — stop, route and system displays for public screens
  • GTFS Display Map RT — live vehicles, and an embeddable map
  • GTFS Schedule — readable timetables
  • GTFS 511 — feed provisioning from the 511 SF Bay API
  • GTFS+ — the GTFS+ extension files

How this module is built

Changes to this module since 2026 were drafted with an AI coding assistant (Claude Code). The maintainers review, test and take responsibility for every change, and the code checks run on drupal.org's CI. Contributions follow Drupal's policy on the use of AI when contributing.

Supporting this module

Developed and maintained by Tyler Brown Cifu Shuster and Jason P. Salter of FivePaths, LLC. Development sponsored by FivePaths.

Drupal 11 · not 10

Ask your assistant about GTFS Display Map

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

Required by

1 tracked project depends on this one

Activity

Tracked releases
5
Tracked since
Aug 2026
Latest release
4 days ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.1.x-dev Dev 11 Nov 18, 2026
2.1.1 Stable 11 Oct 20, 2026
2.1.0 Stable 11 Oct 20, 2026
2.0.x-dev Dev 10–11 Aug 19, 2026
2.0.0 Stable 10–11 Aug 19, 2026