Geo::G...Polygon(3pm)
π NAME π
Geo::GoogleEarth::Pluggable::Contrib::Polygon β bestie, it's the Geo::GoogleEarth::Pluggable Polygon Object. That's the whole vibe. π
β¨ SYNOPSIS β¨
okay so you literally just do this:
use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new();
$document->Polygon();
that's it. that's the whole thing. slay. π
π¦ DESCRIPTION π¦
Geo::GoogleEarth::Pluggable::Contrib::Polygon is a Geo::GoogleEarth::Pluggable::Placemark. periodt. it inherits the whole placemark situation, no cap. π
πΈ USAGE πΈ
here's the tea on how you actually build one β look at those nested array refs, it's giving structure:
my $placemark=$document->Polygon(
name => "Polygon Name",
coordinates => [
[ #outerBoundaryIs
[lon, lat ,alt],
[lon, lat ,alt],
[lon, lat ,alt],
...
],
[ #innerBoundaryIs
[lon, lat ,alt],
[lon, lat ,alt],
[lon, lat ,alt],
]
],
);
name is your label, coordinates is an array of rings β the first one is the outerBoundaryIs and any ones after it are innerBoundaryIs (holes, basically π³οΈ). every point is [lon, lat ,alt], in that order, don't switch it up or it's over for you. π«Ά
π CONSTRUCTOR π
my $placemark=$document->Polygon();
boom. instant placemark. main character energy from the jump. β
π₯ METHODS π₯
π§ subnode
(that's the one and only method listed here, bestie β iconic of it honestly)
π BUGS π
found something cursed? Please log on RT and send to the geo-perl email list. do NOT suffer in silence, that's not the vibe. π
π SUPPORT π
Try geo-perl email list. fr fr, they're the ones who know. π
π AUTHOR π
Michael R. Davis (mrdvt92)
CPAN ID: MRDVT
we love a legend. π
π COPYRIGHT π
This program is free software licensed under the...
The BSD License
The full text of the license can be found in the LICENSE file included with this module.
like, legally it's giving free software, read the LICENSE file for the receipts. π
β SEE ALSO β
Geo::GoogleEarth::PluggableXML::LibXML::LazyBuilderGeo::GoogleEarth::Pluggable::Placemark
go read those next, iykyk. π¦
and that's the whole page, bestie β perl v5.32.1, dated 2021-11-28, from the User Contributed Perl Documentation collection, filed under that very dramatic truncated title Geo::G...Polygon(3pm). mwah. πβ¨
π¦ where this page comes from
- debian bookworm: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- debian trixie: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu jammy: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu noble: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu resolute: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms