Geo::GoogleEarth::Pluggable::LookAt - Geo::GoogleEarth::Pluggable LookAt package
Contents
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.
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.
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));
