X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Felements%2Fgmap.html;h=69fdc5a09f8af737f7565f9dcb3740e070fe288c;hb=d8648be92fa4c30d9ca4377dc0ac8816438e1370;hp=632a323386b71dfc6d9a6086779097defb94689b;hpb=1d50ab91a52be49724771accae7cc82740e83956;p=freeside.git diff --git a/httemplate/search/elements/gmap.html b/httemplate/search/elements/gmap.html index 632a32338..69fdc5a09 100644 --- a/httemplate/search/elements/gmap.html +++ b/httemplate/search/elements/gmap.html @@ -26,7 +26,7 @@ Generic Google Maps front end. }, # end of feature ], overlays => [ - { url => 'https://localhost/freeside/view/sector_overlay-png.html?102', + { url => 'https://localhost/freeside/view/sector_map-png.html?102', west => -130.0, east => -128.0, south => 10.0, @@ -37,6 +37,9 @@ Generic Google Maps front end. <%init> + +my $apikey = FS::Conf->new->config('google_maps_api_key'); + foreach (@features) { $_->{type} = 'Feature'; # any other per-feature massaging can go here @@ -57,7 +60,7 @@ body { height: 100%; margin: 0px; padding: 0px } #map_canvas { height: 100%; } -