Configure Maps - Amplia Reg
informação
As of version 1.4.0, Amplia Reg no longer requires a Google Maps Embed API key. This documentation is kept here merely for historic purposes.
Amplia Reg uses formerly used Google Maps Embed API to display geolocations.
Generate a Google Maps Embed API key
- Sign in to Maps Embed API
- Click on the project selector on the top menu and either select an existing project or create a new one
- Click on the Enable button and wait for the procedure to complete
- You should see a list of Enabled APIs with the Maps Embed API listed
- Click on Credentials on the left menu
- Click on Create credentials on the top menu, then on API key
- Copy the generated API key
- Click on the Edit API key link
- On section API Restrictions, click on Restrict key
- Search and mark the
Maps Embed API, then click OK - Click on Save
Configuring Amplia Reg
Having the Google Maps Embed API key, edit the Amplia Reg configuration file and fill the section Maps, setting GoogleApiKey.
Example (.ini or .conf file):
[Maps]
GoogleApiKey=AIzaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Example (environment variables):
Maps__GoogleApiKey=AIzaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa