summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r--lib/Travel/Status/DE/EFA.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm
index 32f533f..25d3e15 100644
--- a/lib/Travel/Status/DE/EFA.pm
+++ b/lib/Travel/Status/DE/EFA.pm
@@ -100,7 +100,7 @@ sub new {
submitButton => 'anfordern',
typeInfo_dm => 'invalid',
type_dm => $opt{type} // 'stop',
- useProxFootSearch => '0',
+ useProxFootSearch => $opt{proximity_search} ? '1' : '0',
useRealtime => '1',
},
developer_mode => $opt{developer_mode},
@@ -727,6 +727,11 @@ If true: Request full routes for all departures from the backend. This
enables the B<route_pre>, B<route_post> and B<route_interesting> accessors in
Travel::Status::DE::EFA::Result(3pm).
+=item B<proximity_search> => B<0>|B<1>
+
+If true: Show departures for stops in the proximity of the requested place
+as well.
+
=item B<timeout> => I<seconds>
Request timeout, the argument is passed on to LWP::UserAgent(3pm).