line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Geo::Coder::GooglePlaces; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
392084
|
use strict; |
|
4
|
|
|
|
|
38
|
|
|
4
|
|
|
|
|
113
|
|
4
|
4
|
|
|
4
|
|
74
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
161
|
|
5
|
4
|
|
|
4
|
|
1766
|
use Geo::Coder::GooglePlaces::V3; |
|
4
|
|
|
|
|
14
|
|
|
4
|
|
|
|
|
393
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Geo::Coder::GooglePlaces - Google Maps Geocoding API |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Geo::Coder::GooglePlaces provides a geocoding functionality using Google Maps API. |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
See L for usage. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
our $VERSION = '0.04'; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 SUBROUTINES/METHODS |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head2 new |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
See L for usage. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=cut |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
sub new { |
30
|
9
|
|
|
9
|
1
|
3549
|
my ($self, %param) = @_; |
31
|
9
|
|
|
|
|
21
|
delete $param{apiver}; |
32
|
|
|
|
|
|
|
|
33
|
9
|
|
|
|
|
43
|
return Geo::Coder::GooglePlaces::V3->new(%param); |
34
|
|
|
|
|
|
|
} |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 LICENSE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or |
39
|
|
|
|
|
|
|
modify it under the same terms as Perl itself. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
See L |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=cut |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
1; |