Geo::GoogleEarth::Document::LookAt - Geo::GoogleEarth::Document::LookAt
use Geo::GoogleEarth::Document; my $document=Geo::GoogleEarth::Document->new(); $document->LookAt( latitude => 35, longitude => -98, heading => 6, alt => 3500000, tilt => 5 );
Geo::GoogleEarth::Document::LookAt is a Geo::GoogleEarth::Document::Base with a few other methods.
$document->LookAt( latitude => 35, longitude => -98, heading => 6, alt => 3500000, tilt => 5 );
my $LookAt = $document->LookAt( latitude => 35, longitude => -98, heading => 6, alt => 3500000, tilt => 5 );
Returns the object type.
my $type=$LookAt->type;
Returns a hash reference for feeding directly into XML::Simple.
my $structure=$style->structure; <LookAt id="ID"> <longitude>0</longitude> <!-- kml:angle180 --> <latitude>0</latitude> <!-- kml:angle90 --> <altitude>0</altitude> <!-- double --> <heading>0</heading> <!-- kml:angle360 --> <tilt>0</tilt> <!-- kml:anglepos90 --> <range></range> <!-- double --> <altitudeMode>clampToGround</altitudeMode> <!--kml:altitudeModeEnum:clampToGround, relativeToGround, absolute --> </LookAt>
Contact the author.
David Hillman CPAN: DAHILLMA
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::Document creates a GoogleEarth KML Document.
To install Geo::GoogleEarth::Document::LookAt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::GoogleEarth::Document::LookAt
CPAN shell
perl -MCPAN -e shell install Geo::GoogleEarth::Document::LookAt
For more information on module installation, please visit the detailed CPAN module installation guide.