line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Geo::JSON::MultiPolygon; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
our $VERSION = '0.007'; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
# ABSTRACT: object representing a geojson MultiPolygon |
6
|
|
|
|
|
|
|
|
7
|
3
|
|
|
3
|
|
3266
|
use Moo; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
19
|
|
8
|
|
|
|
|
|
|
extends 'Geo::JSON::Base'; |
9
|
|
|
|
|
|
|
with 'Geo::JSON::Role::Geometry'; |
10
|
|
|
|
|
|
|
|
11
|
3
|
|
|
3
|
|
1058
|
use Geo::JSON::Types -types; |
|
3
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
36
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has '+coordinates' => ( isa => Polygons ); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub all_positions { |
16
|
1
|
|
|
1
|
1
|
2
|
my $self = shift; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
return [ |
19
|
2
|
|
|
|
|
2
|
map { @{$_} } |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
5
|
|
20
|
1
|
|
|
|
|
2
|
map { @{$_} } @{ $self->coordinates } |
|
2
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
21
|
|
|
|
|
|
|
]; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |