| 1 | use strict; | ||
| 2 | use warnings; | ||
| 3 | |||
| 4 | package App::Map::Metro; | ||
| 5 | |||
| 6 | our $VERSION = '0.0100'; # VERSION | ||
| 7 | # ABSTRACT: Web interface to Map::Metro maps | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | __END__ | ||
| 12 | |||
| 13 | =pod | ||
| 14 | |||
| 15 | =encoding UTF-8 | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | App::Map::Metro - Web interface to Map::Metro maps | ||
| 20 | |||
| 21 | =head1 VERSION | ||
| 22 | |||
| 23 | Version 0.0100, released 2015-01-24. | ||
| 24 | |||
| 25 | =head1 SYNOPSIS | ||
| 26 | |||
| 27 | $ morbo path/to/app-map-metro | ||
| 28 | # Then visit http://localhost:3000 | ||
| 29 | # or: | ||
| 30 | |||
| 31 | $ map-metro.pl mroute Stockholm Akalla Kista | ||
| 32 | |||
| 33 | =head1 DESCRIPTION | ||
| 34 | |||
| 35 | App::Map::Metro is a simple web interface to L<Map::Metro> implemented in L<Mojolicious>. It can also be used as an alternative backend to the C<route> command, by instead using C<mroute> (currently hardcoded to use C<localhost> and port 3000). | ||
| 36 | |||
| 37 | The web interface (available at C<http://localhost:3000>), lists all installed maps and presents two C<select> menus to pick routes in a chosen city. | ||
| 38 | |||
| 39 | There is currently no error handlling. | ||
| 40 | |||
| 41 | =head1 SEE ALSO | ||
| 42 | |||
| 43 | =over 4 | ||
| 44 | |||
| 45 | =item * | ||
| 46 | |||
| 47 | L<Map::Metro> | ||
| 48 | |||
| 49 | =item * | ||
| 50 | |||
| 51 | L<Task::MapMetro::Maps> | ||
| 52 | |||
| 53 | =back | ||
| 54 | |||
| 55 | =head1 HOMEPAGE | ||
| 56 | |||
| 57 | Please visit the project's homepage at L<https://metacpan.org/release/App-Map-Metro>. | ||
| 58 | |||
| 59 | =head1 AUTHOR | ||
| 60 | |||
| 61 | Erik Carlsson <info@code301.com> | ||
| 62 | |||
| 63 | =head1 COPYRIGHT AND LICENSE | ||
| 64 | |||
| 65 | This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>. | ||
| 66 | |||
| 67 | This is free software; you can redistribute it and/or modify it under | ||
| 68 | the same terms as the Perl 5 programming language system itself. | ||
| 69 | |||
| 70 | =cut |