David Hillman > Geo-GoogleEarth-Document > Geo::GoogleEarth::Document::LookAt

Download:
Geo-GoogleEarth-Document-modules2.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Geo::GoogleEarth::Document::LookAt - Geo::GoogleEarth::Document::LookAt

SYNOPSIS ^

  use Geo::GoogleEarth::Document;
  my $document=Geo::GoogleEarth::Document->new();
  $document->LookAt( latitude => 35, longitude => -98, heading => 6, alt => 3500000, tilt => 5 );

DESCRIPTION ^

Geo::GoogleEarth::Document::LookAt is a Geo::GoogleEarth::Document::Base with a few other methods.

USAGE ^

  $document->LookAt( latitude => 35, longitude => -98, heading => 6, alt => 3500000, tilt => 5 );

CONSTRUCTOR ^

new

  my $LookAt = $document->LookAt( latitude => 35, longitude => -98, heading => 6, 
                                                                                         alt => 3500000, tilt => 5 );

METHODS ^

type

Returns the object type.

  my $type=$LookAt->type;

structure

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>

id

BUGS ^

SUPPORT ^

   Contact the author.

AUTHOR ^

        David Hillman
        CPAN: DAHILLMA

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.

SEE ALSO ^

Geo::GoogleEarth::Document creates a GoogleEarth KML Document.

syntax highlighting: