From 02fa51f0fe82f8490c376e5e279367d57d15e42a Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 18 Aug 2024 23:13:59 +0200 Subject: Services: Include coverage area (GeoJSON) --- lib/Travel/Status/DE/HAFAS/Services.pm.PL | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Travel/Status/DE/HAFAS/Services.pm.PL b/lib/Travel/Status/DE/HAFAS/Services.pm.PL index 5836a94..936c156 100644 --- a/lib/Travel/Status/DE/HAFAS/Services.pm.PL +++ b/lib/Travel/Status/DE/HAFAS/Services.pm.PL @@ -26,8 +26,10 @@ sub load_instance { client => $data->{options}{client}, auth => $data->{options}{auth}, }, - coverage => - { regions => $data->{coverage}{realtimeCoverage}{region} // [] }, + coverage => { + area => $data->{coverage}{realtimeCoverage}{area}, + regions => $data->{coverage}{realtimeCoverage}{region} // [] + }, #coverage => { # area => $data->{coverage}{realtimeCoverage}{area}, -- cgit v1.2.3