Geo::GoogleEarth::Document::LineStyle - Geo::GoogleEarth::Document::LineStyle
use Geo::GoogleEarth::Document; my $document=Geo::GoogleEarth::Document->new(); my $placemark = $document->placemark(); $placemark->LineStyle( width => width );
Geo::GoogleEarth::Document::LineStyle is a Geo::GoogleEarth::Document::ColorStyle with a few other methods.
my $LineStyle = $placemark->LineStyle( width => 2 );
Returns the object type.
my $type=$LineStyle->type;
Returns a hash reference for feeding directly into XML::Simple.
my $structure = $LineStyle->structure; <LineStyle id="ID"> <!-- inherited from ColorStyle --> <color>ffffffff</color> <!-- kml:color --> <colorMode>normal</colorMode> <!-- colorModeEnum: normal or random -->
<!-- specific to LineStyle --> <width>1</width> <!-- float --> </LineStyle>
Sets or return width
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.
To install Geo::GoogleEarth::Document::LookAt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::GoogleEarth::Document::LookAt
CPAN shell
perl -MCPAN -e shell install Geo::GoogleEarth::Document::LookAt
For more information on module installation, please visit the detailed CPAN module installation guide.