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

Geo::GoogleEarth::Pluggable::Contrib::MultiPolygon - Geo::GoogleEarth::Pluggable MultiPolygon Object

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

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

#Note: lon, lat, alt like GeoJSON.

  my $placemark=$document->MultiPolygon(
                                   name        => "MultiPolygon 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->MultiPolygon();

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