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


Geo-GoogleEarth-Pluggable documentation  | view source Contained in the Geo-GoogleEarth-Pluggable distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

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

USAGE

Top

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

CONSTRUCTOR

Top

new

  my $style=$document->StyleMap;

METHODS

Top

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>

BUGS

Top

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

SUPPORT

Top

Try geo-perl email list.

AUTHOR

Top

  Michael R. Davis (mrdvt92)
  CPAN ID: MRDVT

COPYRIGHT

Top

SEE ALSO

Top

Geo::GoogleEarth::Pluggable, XML::LibXML::LazyBuilder, Scalar::Util


Geo-GoogleEarth-Pluggable documentation  | view source Contained in the Geo-GoogleEarth-Pluggable distribution.