To be able to use the Google Maps Platform, you need to have a billing account. If you do not have one yet, you can create it in the Google Cloud Platform Console, where you have to click on the Billing option in the menu. In the account settings, you will be asked to provide the necessary details (for example, payment card data). You cannot get around this requirement! Bear in mind that Google gives users 200 dollars each month that they can freely use for their work with maps. If it is enough for a given user, they do not have to pay anything. It can happen, though, that the number of API requests and their corresponding value exceeds the 200-dollar threshold. In that case, further requests are paid, which is why it is necessary to enter the above-mentioned details. In the settings of a particular project, you can set a daily limit for API requests (Quotas –> Requests per day). When you reach the set daily limit, ISPadmin will not be able to access API for the rest of the day. Maps in ISPadmin will not be displayed. This way, you can manage API usage and possibly reduce any extra costs associated with it.
To be able to use the Google Maps Platform, you need to have a project, too. If no project exists, you can create one in the Google Cloud Platform Console. In the menu, you have to click on Home and choose the New project option in the project menu. Then, you fill in the required data. If you have more than one billing account, you have to choose the one that will be used for this project. If not, the only available billing account will automatically be used. Click on Create.
To be able to use Google Maps in ISPadmin, you need to have an API key. In the Library section, enable the relevant Google APIs. Click on a particular option and then choose Enable. In the Credentials section, click on Create credentials and then choose the API key option. The key generated is to be entered into ISPadmin (google_maps_api_key in Settings / Syst. settings / General).
You also need to pay attention to the following:
- Only public address of the ISPadmin server: The public address is entered into the ispadmin_server setting as well as into the ispadmin_public_address setting in Settings / Syst. settings / General.
- Public + private address of the ISPadmin server: The private address is entered into the ispadmin_server setting and the public address is entered into the ispadmin_public_address setting. The public address must be entered.
- Access via HTTP and HTTPS must not be globally forbidden in the firewall settings.