Leaflet/polyline.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Leaflet/Objects.pm ↑ Summary
1 package Geo::Leaflet::polyline;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use base qw{Geo::Leaflet::polygon};
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 our $VERSION = '0.03';
7 2 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<Geo::Leaflet> 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 2 1;
« Leaflet/Objects.pm ↑ Summary