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

NAME

Geo::GoogleEarth::Document::LineString - Geo::GoogleEarth::Document::LineString

SYNOPSIS

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

DESCRIPTION

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

USAGE

  my $LineString = $placemark->LineString( extrude=>boolean, tessellate=>boolean, 
                                                                                                                 coordinates=>coor  );

CONSTRUCTOR

new

  my $LineString = $placemark->LineString( extrude=>boolean, tessellate=>boolean, 
                                                                                                                 coordinates=>coor  );

METHODS

type

Returns the object type.

  my $type=$LineString->type;

structure

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

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

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.