summaryrefslogtreecommitdiff
path: root/httemplate/search/svc_broadband-map.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/svc_broadband-map.html')
-rwxr-xr-xhttemplate/search/svc_broadband-map.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/httemplate/search/svc_broadband-map.html b/httemplate/search/svc_broadband-map.html
index 64a7f98de..fe3c0950b 100755
--- a/httemplate/search/svc_broadband-map.html
+++ b/httemplate/search/svc_broadband-map.html
@@ -148,13 +148,13 @@ foreach my $tower (values(%towers)) {
my @overlays;
foreach my $sector (values %sectors) {
if ( length($sector->image) > 0 ) {
- push @overlays,
- { url => $fsurl.'view/sector_map-png.cgi?' . $sector->sectornum,
- west => $sector->west,
- east => $sector->east,
- south => $sector->south,
- north => $sector->north,
- };
+ my $o = {
+ url => $fsurl.'view/sector_map-png.cgi?' . $sector->sectornum
+ };
+ foreach (qw(south north west east)) {
+ $o->{$_} = $sector->get($_) + 0;
+ }
+ push @overlays, $o;
};
};