diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-18 23:13:59 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-08-18 23:13:59 +0200 |
commit | 02fa51f0fe82f8490c376e5e279367d57d15e42a (patch) | |
tree | af2385129289a9ff46cd23ba89513b752bafd25e /lib/Travel/Status/DE/HAFAS | |
parent | 5008b2dda31ae20a7f5a48fb7c3a38adda36e8fe (diff) |
Services: Include coverage area (GeoJSON)
Diffstat (limited to 'lib/Travel/Status/DE/HAFAS')
-rw-r--r-- | lib/Travel/Status/DE/HAFAS/Services.pm.PL | 6 |
1 files 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}, |