From: Mitch Jackson Date: Wed, 22 Aug 2018 18:14:30 +0000 (-0400) Subject: RT# 81150 Google now requires api key for drawing api X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9c0a696b7999d2fdb3a16f5860770d2b004c82b5 RT# 81150 Google now requires api key for drawing api --- diff --git a/httemplate/elements/polygon.html b/httemplate/elements/polygon.html index 469ae7f13..a0d380bb8 100644 --- a/httemplate/elements/polygon.html +++ b/httemplate/elements/polygon.html @@ -5,12 +5,15 @@ my $id = $opt{'id'} || $opt{'field'}; my $div_id = "div_$id"; my $vertices_json = $opt{'curr_value'} || '[]'; + +my $apikey = FS::Conf->new->config('google_maps_api_key'); + <& hidden.html, %opt &>
 
- +