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

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

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

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

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

Returns the object type.
my $type=$LineString->type;
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>


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.