Changes to Google Maps API Policy
Starting June 2018 Google has implemented a pay-as-you-go pricing model for the Google Maps Platform APIs. Previously, most users with moderate usage could use Google Maps, which are embedded into opCharts and Open-AudIT Professional/Enterprise, for free. Google's new policy is outlined HERE: https://developers.google.com/maps/documentation/javascript/usage-and-billing
In order to enable Google Maps you will need to a Google API Key follow this link and log in with your Google account: https://cloud.google.com/maps-platform/#get-started
- Select Maps from the product choices then press continue. NOTE: If the next page to select a project does not open then click on Get Started on the Google Maps Platform website to redo this step.
- Select a project, enter a project name and accept Googles Terms of Service and click Next.
- Enter relevant billing information and create a billing account by enabling billing for the project.
Adding Your API Key to opCharts
Once you have your Google API key you will need to add it to opCommon.nmis to enable Maps in opCharts. You can find opCommon.nmis (NMIS8 compatible) or opCommon.json (NMIS9 compatible) in /usr/local/omk/conf/, edit the file with vim (or another suitable text editor) and search for the opcharts_map_api_key property.
Adding your API Key to Open-AudIT Professional/Enterprise
Open Open-AudIT Professional/Enterprise and select Admin -> Configuration -> All from the menu. Search for maps_api_key and place your API key in the value position.