Google Maps
Google Maps is a web-based map service developed by Google.
Authentication Types
Google Maps supports 1 authentication method:
- API Key - Use a Google Maps API key for authentication.
- Pros: Simple setup, no OAuth flow needed
- Cons: Single credential for all users, usage is billed to your account
Generating an API Key
-
Create a new project or select an existing one
-
In the left sidebar, go to APIs & Services → Library
- Search for and enable the Maps APIs you need:
- Maps JavaScript API
- Geocoding API
- Places API
- Directions API
- etc.
- Go to APIs & Services → Credentials
- Click Create Credentials → API key
- Copy the generated API key
- (Recommended) Click Edit API key to restrict it:
- Add Application restrictions (HTTP referrers, IP addresses, etc.)
- Add API restrictions (limit to specific APIs)
-
Click Save
-
Paste the API key into Webrix
Note: Google Maps APIs are billed based on usage. Make sure to set up billing alerts and API restrictions to control costs.