The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Geo::GoogleEarth::Document::LinearRing - Geo::GoogleEarth::Document::LinearRing

SYNOPSIS

  use Geo::GoogleEarth::Document;
  my $document=Geo::GoogleEarth::Document->new();
  my $placemark = $document->placemark();
  $placemark->LinearRing( extrude=>boolean, tessellate=>boolean, coordinates=>coor
                                                                  altitudeMode => mode );

DESCRIPTION

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

USAGE

  my $LinearRing = $placemark->LinearRing( extrude=>boolean, tessellate=>boolean, 
                                                                                                                 coordinates=>coor, altitudeMode => mode  );

CONSTRUCTOR

new

  my $LinearRing = $placemark->LinearRing( extrude=>boolean, tessellate=>boolean, 
                                                                                                                 coordinates=>coor, altitudeMode => mode  );

METHODS

type

Returns the object type.

  my $type=$LinearRing->type;

structure

Returns a hash reference for feeding directly into XML::Simple.

  my $structure=$style->structure;
<LinearRing id="ID">
        <!-- specific to LinearRing -->
        <extrude>0</extrude>                       <!-- boolean -->
        <tessellate>0</tessellate>                 <!-- boolean -->
        <altitudeMode>clampToGround</altitudeMode> 
        <!-- kml:altitudeModeEnum: clampToGround, relativeToGround, or absolute -->
        <coordinates>...</coordinates>             <!-- lon,lat[,alt] tuples --> 
</LinearRing>

id

coordinates

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.