summaryrefslogtreecommitdiff
path: root/httemplate/view/map.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-09-23 19:00:29 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-09-27 12:33:12 -0500
commite7451be44db0d8244f85059169ac6239b2440687 (patch)
treee69d7b21c657342cb1425ecdc390b4f60b8585db /httemplate/view/map.html
parent3b435e5106bd9fd278611e5b0a23cd2e7e2e07c2 (diff)
71873: GlobalVision - directions [v3 reconcile]
Diffstat (limited to 'httemplate/view/map.html')
-rw-r--r--httemplate/view/map.html5
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">