DOKK / manpages / debian 12 / libgeo-googleearth-pluggable-perl / Geo::GoogleEarth::Pluggable::StyleMap.3pm.en
Geo::GoogleEarth::Pluggable::StyleMap(3pm) User Contributed Perl Documentation Geo::GoogleEarth::Pluggable::StyleMap(3pm)

Geo::GoogleEarth::Pluggable::StyleMap - Geo::GoogleEarth::Pluggable StyleMap Object

  use Geo::GoogleEarth::Pluggable;
  my $document=Geo::GoogleEarth::Pluggable->new;
  my $style=$document->StyleMap(%data);
  print $document->render;

Geo::GoogleEarth::Pluggable::StyleMap is a Geo::GoogleEarth::Pluggable::Base with a few other methods.

  my $style=$document->StyleMap(
                                normal    => $style1,
                                highlight => $style2,
                               );

  my $style=$document->StyleMap;

Returns the object type.

  my $type=$style->type;

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>

Please log on RT and send to the geo-perl email list.

Try geo-perl email list.

  Michael R. Davis (mrdvt92)
  CPAN ID: MRDVT

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::Pluggable, XML::LibXML::LazyBuilder, Scalar::Util

2021-11-28 perl v5.32.1