Geo-Leaflet
view release on metacpan or search on metacpan
lib/Geo/Leaflet/Polyline.pm view on Meta::CPAN
package Geo::Leaflet::Polyline;
use strict;
use warnings;
use base qw{Geo::Leaflet::Polygon};
our $VERSION = '0.04';
our $PACKAGE = __PACKAGE__;
=head1 NAME
Geo::Leaflet::Polyline - Leaflet polyline object
=head1 SYNOPSIS
use Geo::Leaflet;
my $map = Geo::Leaflet->new;
my $polyline = $map->polyline(
coordinates => [[$lat, $lon], ...]
options => {},
);
=head1 DESCRIPTION
This package constructs a Leaflet polyline object for use on a L<Geo::Leaflet> map.
=head1 PROPERTIES
=head2 coordinates
=head2 options
=head2 popup
=head1 METHODS
=head2 stringify
=cut
sub _method_name {'polyline'};
=head1 SEE ALSO
=head1 AUTHOR
Michael R. Davis
=head1 COPYRIGHT AND LICENSE
Copyright (C) 2024 by Michael R. Davis
MIT LICENSE
=cut
1;
( run in 1.259 second using v1.01-cache-2.11-cpan-364913b4093 )