NAME

Geo::Leaflet::polygon - Generates Leaflet web page

SYNOPSIS

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

DESCRIPTION

The package is designed to be able to build a Leaflet map similar to what Geo::Google::StaticMaps::V2 used to be able to provide.

PROPERTIES

coordinates

properties

METHODS

stringify

SEE ALSO

AUTHOR

Michael R. Davis

COPYRIGHT AND LICENSE

Copyright (C) 2024 by Michael R. Davis

MIT LICENSE