logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

         Michael R. Davis (mrdvt92)
         CPAN ID: MRDVT

Bugs

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

Constructor

new
         my $style=$document->StyleMap;

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,
                                      );

See Also