Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
Google::Directions::Response::Leg - An leg of a journey within a route
SYNOPSIS
my $first_route = shift( @{ $response->routes } );
my @legs = @{ $first_route->legs };
...
ATTRIBUTES
See API documentation here for details.
- distance $integer Distance is always in meters
- duration $integer Duration is always in seconds
- end_address $string
- end_location Google::Directions::Response::Coordinates
- start_address $string
- start_location Google::Directions::Response::Coordinates
- steps ArrayRef of Google::Directions::Response::Step
AUTHOR
Robin Clarke, <perl at robinclarke.net>
LICENSE AND COPYRIGHT
Copyright 2012 Robin Clarke.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.