The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Geo::GoogleEarth::Document::Folder - Geo::GoogleEarth::Document::Folder object

SYNOPSIS

  use Geo::GoogleEarth::Document::Folder;

DESCRIPTION

Geo::GoogleEarth::Document::Folder is a Geo::GoogleEarth::Document::Base with a few other methods.

USAGE

  $document->Folder();
  $folder->Folder();

Folder

Creates a new folder object in the current parent folder object. Returns the object reference if you need to make any setting changes after construction.

Placemark

Creates a Placemark in the current parent folder object. Returns the object reference if you need to make any setting changes after construction.

Creates a NetworkLink in the current parent folder object. Returns the object reference if you need to make any setting changes after construction.

type

Returns the object type.

structure

Returns a hash reference for feeding directly into XML::Simple.

Unfortunately, this package cannot guarantee how Folders, Placemarks, or NetworkLinks are ordered when in the same folder. Because it's a hash reference! But, order is perserved within a group of Folders, NetworkLink, and Placemarks.

data

Pushes arguments onto data array and returns an array or reference that holds folder object content. This is a list of objects that supports a type and structure method.

BUGS

Due to a limitation in XML::Simple and the fact that we feed it a hash, it is not possible to specify the order of Folders, Placemarks and NetworkLinks. However, this package does preserve the order of the inserts within Folders, Placemarks, and NetworkLinks. A good work around is to put unique types of objects in folders.

TODO

SUPPORT

Try geo-perl email list.

AUTHOR

    Michael R. Davis (mrdvt92)
    CPAN ID: MRDVT

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.

SEE ALSO

perl(1).