Geo::G...tyleMap(3pm)
β¨ NAME β¨
Geo::GoogleEarth::Pluggable::StyleMap β bestie, it's the StyleMap object for Geo::GoogleEarth::Pluggable. That's it, that's the whole vibe check π
π SYNOPSIS π
okay so here's how you actually use it, no cap:
use Geo::GoogleEarth::Pluggable;
my $document=Geo::GoogleEarth::Pluggable->new;
my $style=$document->StyleMap(%data);
print $document->render;
like. look at her. iconic behavior π
π¦ DESCRIPTION π¦
Geo::GoogleEarth::Pluggable::StyleMap is literally a Geo::GoogleEarth::Pluggable::Base with a few other methods. that's the tea, that's the whole thing, periodt π
πΈ USAGE πΈ
the way you call it is by handing over your normal and highlight styles, like:
my $style=$document->StyleMap(
normal => $style1,
highlight => $style2,
);
so normal gets $style1 and highlight gets $style2 β two keys, two styles, we love a clean pairing π«Ά
π CONSTRUCTOR π
new
my $style=$document->StyleMap;
yes bestie, you just call StyleMap on the document and boom β new object, main character energy β
π METHODS π
type
returns the object type. she tells you who she is:
my $type=$style->type;
ngl, knowing your own type? growth π±
node
generates XML. and it looks exactly like this, character for character, do not touch:
<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>
two <Pair>s, one normal, one highlight, each with its own <styleUrl> β it's giving matching bestie outfits πβ¨
π BUGS π
found a bug? π please log on RT and send it to the geo-perl email list. don't just suffer in silence, that's not the move.
π«Ά SUPPORT π«Ά
try the geo-perl email list. the girlies there know things, iykyk π
π§ AUTHOR π§
Michael R. Davis (mrdvt92)
CPAN ID: MRDVT
shoutout to the author, absolute legend for this one π
β COPYRIGHT β
this program is free software licensed under the... β¨
The BSD License
the full text of the license lives in the LICENSE file that ships with this module β go read it, it's right there bestie π
π SEE ALSO π
Geo::GoogleEarth::PluggableXML::LibXML::LazyBuilderScalar::Util
the whole friend group, honestly π
and that's the page!! perl v5.32.1, dated 2021-11-28 β the Geo::G...tyleMap(3pm) manual, brought to you with love, sparkles, and zero lost details π¦ππβ¨
π¦ where this page comes from
- debian bookworm: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- debian trixie: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu jammy: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu noble: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- ubuntu resolute: libgeo-googleearth-pluggable-perl 0.17-1 Β· BSD-3-Clause~STOP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms