DOKK / manpages / debian 12 / libgeo-googleearth-pluggable-perl / Geo::GoogleEarth::Pluggable::Contrib::Polygon.3pm.en
Geo::GoogleEarth::Pluggable::Contrib::Polygon(3pm) User Contributed Perl Documentation Geo::GoogleEarth::Pluggable::Contrib::Polygon(3pm)

Geo::GoogleEarth::Pluggable::Contrib::Polygon - Geo::GoogleEarth::Pluggable Polygon Object

  use Geo::GoogleEarth::Pluggable;
  my $document=Geo::GoogleEarth::Pluggable->new();
  $document->Polygon();

Geo::GoogleEarth::Pluggable::Contrib::Polygon is a Geo::GoogleEarth::Pluggable::Placemark.

  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],
                                                    ]
                                                  ],
                                  );

  my $placemark=$document->Polygon();

Please log on RT and send to the geo-perl email list.

Try geo-perl email list.

  Michael R. Davis (mrdvt92)
  CPAN ID: MRDVT

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.

Geo::GoogleEarth::Pluggable, XML::LibXML::LazyBuilder, Geo::GoogleEarth::Pluggable::Placemark

2021-11-28 perl v5.32.1