package Geo::GoogleEarth::Pluggable::Contrib::LineString;
use base qw{Geo::GoogleEarth::Pluggable::Placemark};
use XML::LibXML::LazyBuilder qw{E};
use warnings;
use strict;
our $VERSION='0.09';
=head1 NAME
Geo::GoogleEarth::Pluggable::Contrib::LineString - Geo::GoogleEarth::Pluggable LineString Object
=head1 SYNOPSIS
use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new();
$document->LineString();
=head1 DESCRIPTION
Geo::GoogleEarth::Pluggable::Contrib::LineString is a L<Geo::GoogleEarth::Pluggable::Placemark> with a few other methods.
=head1 USAGE
my $placemark=$document->LineString(name=>"LineString Name",
coordinates=>[[lat,lon,alt],
[lat,lon,alt],...]);
=head1 CONSTRUCTOR
=head2 new
my $placemark=$document->LineString();
=head1 METHODS
=head2 subnode
=cut
sub subnode {
my $self=shift;
my %data=%$self;
$data{"tessellate"}=1 unless defined $data{"tessellate"};
my $coordinates=$self->coordinates_stringify($data{"coordinates"});
my @element=();
push @element, E(tessellate=>{}, $data{"tessellate"});
push @element, E(coordinates=>{}, $coordinates);
return E(LineString=>{}, @element);
}
=head1 BUGS
Please log on RT and send to the geo-perl email list.
=head1 SUPPORT
Try geo-perl email list.
=head1 AUTHOR
Michael R. Davis (mrdvt92)
CPAN ID: MRDVT
=head1 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.
=head1 SEE ALSO
L<Geo::GoogleEarth::Pluggable>, L<XML::LibXML::LazyBuilder>, L<Geo::GoogleEarth::Pluggable::Placemark>
=cut
1;