Adds the ability to set a custom Google Maps API key

Users can now generate a custom Google Maps API key and
set it via ntopng Preferences page.

Addresses #646
This commit is contained in:
Simone Mainardi 2016-07-06 11:46:37 +02:00
parent 52974784c0
commit 2c693cb0c1
5 changed files with 38 additions and 6 deletions

View file

@ -1453,7 +1453,12 @@ print [[
</style>
</center>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
]]
addGoogleMapsScript()
print[[
<script src="]] print(ntop.getHttpPrefix()) print [[/js/markerclusterer.js"></script>
<div class="container-fluid">
<div class="row-fluid">