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

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

  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));

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

All Folder objects have a LookAt constructor.

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

Returns the object type.

  my $type=$lookat->type;

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

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

DavisNetworks.com supports all Perl applications including this package.

  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 creates a GoogleEarth Document.

2021-11-28 perl v5.32.1