Geo::GoogleEarth::Pluggable::StyleMap - Geo::GoogleEarth::Pluggable StyleMap Object
Contents
Bugs
Please log on RT and send to the geo-perl email list.
Constructor
new
my $style=$document->StyleMap;
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.
Description
Geo::GoogleEarth::Pluggable::StyleMap is a Geo::GoogleEarth::Pluggable::Base with a few other methods.
Methods
type
Returns the object type.
my $type=$style->type;
node
Generates XML that looks like this.
<StyleMap id="StyleMap-perl-69">
<Pair>
<key>normal</key>
<styleUrl>#Style-perl-19</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#Style-perl-11</styleUrl>
</Pair>
</StyleMap>
Name
Geo::GoogleEarth::Pluggable::StyleMap - Geo::GoogleEarth::Pluggable StyleMap Object
See Also
Geo::GoogleEarth::Pluggable, XML::LibXML::LazyBuilder, Scalar::Util
perl v5.32.1 2021-11-28 Geo::GoogleEar...gable::StyleMap(3pm)
Support
Try geo-perl email list.
Synopsis
use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new;
my $style=$document->StyleMap(%data);
print $document->render;
Usage
my $style=$document->StyleMap(
normal => $style1,
highlight => $style2,
);
