Geo::GoogleEarth::Document::PolyStyle - Geo::GoogleEarth::Document::PolyStyle
use Geo::GoogleEarth::Document; my $document=Geo::GoogleEarth::Document->new(); my $placemark = $document->placemark(); $placemark->PolyStyle( fill => fill, outline => outline );
Geo::GoogleEarth::Document::PolyStyle is a Geo::GoogleEarth::Document::ColorStyle with a few other methods.
my $PolyStyle = $placemark->PolyStyle( fill => 1, outline => 1 );
Returns the object type.
my $type=$PolyStyle->type;
Returns a hash reference for feeding directly into XML::Simple.
my $structure = $PolyStyle->structure; <PolyStyle id="ID"> <!-- inherited from ColorStyle --> <color>ffffffff</color> <!-- kml:color --> <colorMode>normal</colorMode> <!-- kml:colorModeEnum: normal or random -->
<!-- specific to PolyStyle --> <fill>1</fill> <!-- boolean --> <outline>1</outline> <!-- boolean --> </PolyStyle>
Sets or returns fill
Sets or returns outline
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.