projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71873: GlobalVision - directions
[freeside.git]
/
httemplate
/
view
/
map.html
diff --git
a/httemplate/view/map.html
b/httemplate/view/map.html
index
3122de6
..
d996a33
100644
(file)
--- 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>
@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">
</script>
<script type="text/javascript">