X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fsvc_broadband-map.html;h=fe3c0950b5504564e6d036404ba3e68cc8b3f3b2;hb=a2ecb1cf6a6c084c521710f1256da082f70ba9e5;hp=64a7f98de904556f0f6c586e513762ec535a3e1e;hpb=1d50ab91a52be49724771accae7cc82740e83956;p=freeside.git 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; }; };