<%init> my $conf = new FS::Conf; my $apikey = $conf->config('google_maps_api_key'); my %opt = @_; # Currently requires two fields named 'latitude' and 'longitude'. # Those should be in the edit form. This widget should NOT be in the # edit form (or it will submit a bunch of spurious fields, plus pressing # "enter" in the search box will submit the form).