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::LookAt - Geo::GoogleEarth::Pluggable LookAt package

Author

         Michael R. Davis (mrdvt92)
         CPAN ID: MRDVT

Bugs

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

Constructor

       All Folder objects have a LookAt constructor.

         my $object=$document->LookAt(%data);
         my $object=$folder->LookAt(%data);

   newtype
       Returns the object type.

         my $type=$lookat->type;

   latitudelongituderangetiltheadingnode
       Returns the XML::LibXML::LazyBuilder element for the LookAt object.

Description

       Provides a way to configure a LookAt for all Folders and Placemarks.

Name

       Geo::GoogleEarth::Pluggable::LookAt - Geo::GoogleEarth::Pluggable LookAt package

See Also

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

perl v5.32.1                                       2021-11-28              Geo::GoogleEar...uggable::LookAt(3pm)

Support

       DavisNetworks.com supports all Perl applications including this package.

Synopsis

         my $lookat=$document->LookAt(
                                      latitude  => 38.1741527,
                                      longitude => -96.7839388,
                                      range     => 3525808,
                                      heading   => 0,
                                      tilt      => 0,
                                     );

       Assign LookAt during construction

         my $folder=$document->Folder(name=>"MyLook", lookat=>$lookat);
         my $point=$folder->Point(lat=>$lat, lon=>$lon, lookat=>$lookat);

       Assign LookAt afer construction

         $document->lookat($lookat);
         $folder->lookat($lookat);
         $point->lookat($lookat);

       Do it all at one time

         my $point=$folder->Point(lat    => $lat,
                                  lon    => $lon,
                                  lookat => $document->LookAt(%data));

Usage

See Also