| 1 | package Geo::GoogleEarth::Pluggable::StyleBase; | ||||||||||
| 2 | 1 | ▶ | use base qw{Geo::GoogleEarth::Pluggable::Base}; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | our $VERSION='0.17'; | |||||||||
| 7 | 1 | our $PACKAGE=__PACKAGE__; | |||||||||
| 8 | |||||||||||
| 9 | =head1 NAME | ||||||||||
| 10 | |||||||||||
| 11 | Geo::GoogleEarth::Pluggable::StyleBase - Geo::GoogleEarth::Pluggable StyleBase Object | ||||||||||
| 12 | |||||||||||
| 13 | =head1 SYNOPSIS | ||||||||||
| 14 | |||||||||||
| 15 | use base qw{Geo::GoogleEarth::Pluggable::StyleBase}; | ||||||||||
| 16 | |||||||||||
| 17 | =head1 DESCRIPTION | ||||||||||
| 18 | |||||||||||
| 19 | Geo::GoogleEarth::Pluggable::StyleBase is a L<Geo::GoogleEarth::Pluggable::Base> with a few other methods. | ||||||||||
| 20 | |||||||||||
| 21 | =head1 USAGE | ||||||||||
| 22 | |||||||||||
| 23 | my $style=$document->Style(id=>"Style_Internal_HREF", | ||||||||||
| 24 | iconHref=>"http://.../path/image.png"); | ||||||||||
| 25 | |||||||||||
| 26 | =head1 METHODS | ||||||||||
| 27 | |||||||||||
| 28 | =head2 id | ||||||||||
| 29 | |||||||||||
| 30 | =cut | ||||||||||
| 31 | |||||||||||
| 32 | 0 | ▶ | sub id { | ||||||||
|
Subroutine
id: not called CC=3 SCAR=24.8
Pod
documented
| |||||||||||
| 33 | 0 | my $self=shift(); | |||||||||
| 34 | 0 | ▶ | $self->{'id'}=shift if @_; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 35 | 0 | ▶ | $self->{'id'}=$self->document->nextId($self->type) unless defined $self->{"id"}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 36 | 0 | return $self->{'id'}; | |||||||||
| 37 | } | ||||||||||
| 38 | |||||||||||
| 39 | =head2 url | ||||||||||
| 40 | |||||||||||
| 41 | =cut | ||||||||||
| 42 | |||||||||||
| 43 | 0 | ▶ | sub url { | ||||||||
|
Subroutine
url: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 44 | 0 | my $self=shift; | |||||||||
| 45 | 0 | return sprintf("#%s", $self->id); | |||||||||
| 46 | } | ||||||||||
| 47 | |||||||||||
| 48 | =head1 BUGS | ||||||||||
| 49 | |||||||||||
| 50 | Please log on RT and send to the geo-perl email list. | ||||||||||
| 51 | |||||||||||
| 52 | =head1 SUPPORT | ||||||||||
| 53 | |||||||||||
| 54 | Try geo-perl email list. | ||||||||||
| 55 | |||||||||||
| 56 | =head1 AUTHOR | ||||||||||
| 57 | |||||||||||
| 58 | Michael R. Davis (mrdvt92) | ||||||||||
| 59 | CPAN ID: MRDVT | ||||||||||
| 60 | |||||||||||
| 61 | =head1 COPYRIGHT | ||||||||||
| 62 | |||||||||||
| 63 | This program is free software licensed under the... | ||||||||||
| 64 | |||||||||||
| 65 | The BSD License | ||||||||||
| 66 | |||||||||||
| 67 | The full text of the license can be found in the | ||||||||||
| 68 | LICENSE file included with this module. | ||||||||||
| 69 | |||||||||||
| 70 | =head1 SEE ALSO | ||||||||||
| 71 | |||||||||||
| 72 | L<Geo::GoogleEarth::Pluggable> creates a GoogleEarth Document. | ||||||||||
| 73 | |||||||||||
| 74 | =cut | ||||||||||
| 75 | |||||||||||
| 76 | 1 | 1; | |||||||||