logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Geo::GoogleEarth::Pluggable::Base - Geo::GoogleEarth::Pluggable Base package

Author

         Michael R. Davis (mrdvt92)
         CPAN ID: MRDVT

Bugs

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

Constructor

new
         my $document = Geo::GoogleEarth::Pluggable->new(key1=>value1,
                                                         key2=>[value=>{opt1=>val1}],
                                                         key3=>{value=>{opt2=>val2}});

Description

       The is the base of all Geo::GoogleEarth::Pluggable packages.

Methods

name
       Sets or returns the name property.

         my $name=$folder->name;
         $placemark->name("New Name");
         $document->name("New Name");

   description
       Sets or returns the description property.

         my $description=$folder->description;
         $placemark->description("New Description");
         $document->description("New Description");

   Snippet
       Returns the Snippet used in the Snippet XML element or a Placemark.  The default Snippet from Google
       Earth is to use the first line of the description however this package defaults to a zero line Snippet.

       Snippet is rendered with maxLines as the length of the array ref and the content joined with new lines.

       Typical use

         $document->Point(Snippet=>"Line 1");
         $document->Point(Snippet=>["Line 1", "Line 2"]);

       Extended used

         my $snippet=$placemark->Snippet;                     #[] always array reference
         $placemark->Snippet([]);                             #default
         $placemark->Snippet(["line 1", "line 2", "line 3"]);
         $placemark->Snippet("My Snippet Text");              #folded into array reference.
         $placemark->Snippet("line 1", "line 2", "line 3");   #folded into array reference

   lookat
       Sets or returns a Geo::GoogleEarth::Pluggable::LookAt object

Name

       Geo::GoogleEarth::Pluggable::Base - Geo::GoogleEarth::Pluggable Base package

See Also

       Geo::GoogleEarth::Pluggable creates a GoogleEarth Document.

perl v5.32.1                                       2021-11-28             Geo::GoogleEarth::Pluggable::Base(3pm)

Support

       DavisNetworks.com supports all Perl applications including this package.

Synopsis

         use base qw{Geo::GoogleEarth::Pluggable::Base};

Usage

See Also