.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.40) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Geo::GoogleEarth::Pluggable::Folder 3pm" .TH Geo::GoogleEarth::Pluggable::Folder 3pm "2021-01-04" "perl v5.32.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Geo::GoogleEarth::Pluggable::Folder \- Geo::GoogleEarth::Pluggable::Folder object .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 3 \& use Geo::GoogleEarth::Pluggable; \& my $document=Geo::GoogleEarth::Pluggable\->new; \& my $folder=$document\->Folder(name=>"My Folder"); .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" Geo::GoogleEarth::Pluggable::Folder is a Geo::GoogleEarth::Pluggable::Base with a few other methods. .SH "USAGE" .IX Header "USAGE" .Vb 2 \& my $folder=$document\->Folder(); #add folder to $document \& my $subfolder=$folder\->Folder(); #add folder to $folder .Ve .SH "METHODS" .IX Header "METHODS" .SS "initialize" .IX Subsection "initialize" We overide the default \*(L"initialize\*(R" method in order to append the \*(L"plugins\*(R" method from Module::Pluggable on to the packages list of the Method::Autoload package. .PP The \*(L"packages\*(R" property is what is needed by Method::Autoload package. The \*(L"plugins\*(R" method is what is provided by Module::Pluggable. So, the Folder package now has available to it every method in the \*(L"Plugins\*(R" folder at runtime. .SS "Folder" .IX Subsection "Folder" Constructs a new Folder object and appends it to the parent folder object. Returns the object reference if you need to make any setting changes after construction. .PP .Vb 2 \& my $folder=$folder\->Folder(name=>"My Folder"); \& $folder\->Folder(name=>"My Folder"); .Ve .SS "NetworkLink" .IX Subsection "NetworkLink" Constructs a new NetworkLink object and appends it to the parent folder object. Returns the object reference if you need to make any setting changes after construction. .PP .Vb 1 \& $folder\->NetworkLink(name=>"My NetworkLink", url=>"./anotherdoc.kml"); .Ve .SS "LookAt" .IX Subsection "LookAt" Constructs a new LookAt object and returns the object reference to assign to other object \*(L"lookat\*(R" properties. .PP .Vb 7 \& $document\->LookAt( \& latitude => $lat, #decimal degrees \& longitude => $lon, #decimal degrees \& range => $range, #meters \& tilt => $tilt, #decimal degrees from veritical \& heading => $header, #decimal degrees from North \& ); .Ve .SS "type" .IX Subsection "type" Returns the object type. .PP .Vb 1 \& my $type=$folder\->type; .Ve .SS "node" .IX Subsection "node" .SS "data" .IX Subsection "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. .PP .Vb 3 \& my $data=$folder\->data; \& my @data=$folder\->data; \& $folder\->data($placemark); .Ve .SS "open" .IX Subsection "open" .SH "BUGS" .IX Header "BUGS" Please log on \s-1RT\s0 and send to the geo-perl email list. .SH "LIMITATIONS" .IX Header "LIMITATIONS" Due to limitations in Perl hashes, it is not possible to specify the order of certain elements and attributes in the \s-1XML.\s0 .SH "TODO" .IX Header "TODO" .SH "SUPPORT" .IX Header "SUPPORT" Try geo-perl email list. .SH "AUTHOR" .IX Header "AUTHOR" .Vb 2 \& Michael R. Davis (mrdvt92) \& CPAN ID: MRDVT .Ve .SH "COPYRIGHT" .IX Header "COPYRIGHT" This program is free software licensed under the... .PP .Vb 1 \& The BSD License .Ve .PP The full text of the license can be found in the \&\s-1LICENSE\s0 file included with this module. .SH "SEE ALSO" .IX Header "SEE ALSO" Geo::GoogleEarth::Pluggable, Module::Pluggable Method::Autoload, XML::LibXML::LazyBuilder