| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Geo::Leaflet::polyline; |
|
2
|
2
|
|
|
2
|
|
13
|
use strict; |
|
|
2
|
|
|
|
|
5
|
|
|
|
2
|
|
|
|
|
88
|
|
|
3
|
2
|
|
|
2
|
|
11
|
use warnings; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
131
|
|
|
4
|
2
|
|
|
2
|
|
12
|
use base qw{Geo::Leaflet::polygon}; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
2326
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.03'; |
|
7
|
|
|
|
|
|
|
our $PACKAGE = __PACKAGE__; |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 NAME |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
Geo::Leaflet::polyline - Leaflet polyline object |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
use Geo::Leaflet; |
|
16
|
|
|
|
|
|
|
my $map = Geo::Leaflet->new; |
|
17
|
|
|
|
|
|
|
my $polyline = $map->polyline( |
|
18
|
|
|
|
|
|
|
coordinates => [[$lat, $lon], ...] |
|
19
|
|
|
|
|
|
|
options => {}, |
|
20
|
|
|
|
|
|
|
); |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This package constructs a Leaflet polyline object for use on a L map. |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 PROPERTIES |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head2 coordinates |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 options |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head2 popup |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 METHODS |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head2 stringify |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AUTHOR |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
Michael R. Davis |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Copyright (C) 2024 by Michael R. Davis |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
MIT LICENSE |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=cut |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
1; |