diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2016-09-23 19:00:29 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-09-23 19:00:29 -0500 |
commit | e1acfb2921b35fe097015208e8072a2675d01d69 (patch) | |
tree | 431c881402f5f20f600d0de981f914a83fdec74d /httemplate/view/map.html | |
parent | 495da424492b18c3f4cdaa3fccec728b14435fde (diff) |
71873: GlobalVision - directions
Diffstat (limited to 'httemplate/view/map.html')
-rw-r--r-- | httemplate/view/map.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/httemplate/view/map.html b/httemplate/view/map.html index 3122de6a0..d996a330c 100644 --- a/httemplate/view/map.html +++ b/httemplate/view/map.html @@ -22,8 +22,9 @@ body { height: 100%; margin: 0px; padding: 0px } @media print { #map_canvas { height: 500px; margin: 0; } } </style> -<script type="text/javascript" -src="https://maps.google.com/maps/api/js?v=3.4&sensor=false"> +% my $conf = new FS::Conf; +% my $apikey = $conf->config('google_maps_api_key'); +<script type="text/javascript" src="https://maps.google.com/maps/api/js?v=3&key=<% $apikey %>"> </script> <script type="text/javascript"> |