NAME

Geo::Leaflet::polygon - Leaflet polygon object

SYNOPSIS

use Geo::Leaflet;
my $map     = Geo::Leaflet->new;
my $polygon = $map->polygon(
                            coordinates => [[$lat, $lon], ...]
                            options     => {},
                           );

DESCRIPTION

This package constructs a Leaflet polygon object for use on a Geo::Leaflet map.

PROPERTIES

coordinates

options

METHODS

stringify

SEE ALSO

AUTHOR

Michael R. Davis

COPYRIGHT AND LICENSE

Copyright (C) 2024 by Michael R. Davis

MIT LICENSE