line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Geo::GoogleEarth::Pluggable::StyleBase; |
2
|
1
|
|
|
1
|
|
6
|
use base qw{Geo::GoogleEarth::Pluggable::Base}; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
114
|
|
3
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
177
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION='0.09'; |
7
|
|
|
|
|
|
|
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 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
|
|
|
|
|
|
|
sub id { |
33
|
0
|
|
|
0
|
1
|
|
my $self=shift(); |
34
|
0
|
0
|
|
|
|
|
$self->{'id'}=shift if @_; |
35
|
0
|
0
|
|
|
|
|
$self->{'id'}=$self->document->nextId($self->type) unless defined $self->{"id"}; |
36
|
0
|
|
|
|
|
|
return $self->{'id'}; |
37
|
|
|
|
|
|
|
} |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 url |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
sub url { |
44
|
0
|
|
|
0
|
1
|
|
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 creates a GoogleEarth Document. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=cut |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
1; |