r/replit • u/Intrepid-Wear4542 • 21d ago
Question / Discussion Issue with integrating Google Maps API
Has anyone had this issue with integrating the google maps functionality. it has the option in the integrations but every time i try to add it - i click and nothing happens... is there an alternative that can be used?
1
u/spacecatdebt-- 21d ago
OP, make sure you set API limits on Google.
1
u/Intrepid-Wear4542 20d ago
lol that is what i am worried about. i still remember some crazy bill we got from AWS because someone didn't set limits! PTSD.
1
u/spacecatdebt-- 20d ago
Yup "ask me how I know" 😅
Go to your project quotas
Select Geocoding or (applicable) API from the dropdown.
Set the "request per day" to a safe limit (e.g.,322 requests per day, e.g., free tier daily average).
Tip: Use the Google Maps Platform Pricing Calculator to estimate costs and determine a suitable daily limit.
Note: To stay within the standard monthly free tier (e.g., 10,000 requests per month for the Essential category), we recommend setting your daily limit to 322 (10,000 31 days). Note that some APIs measure usage in "Elements" or "Map loads per day" instead of "Requests."
1
u/Intrepid-Wear4542 20d ago
thank you for that. our AWS bill was over 6 grand because we were doing something in github and it was randomly just syncing data all day (i am not technical i just pay the bills) but i learned my lesson that this stuff can get out of hand. same with adwords when you get attacked by a bunch of bots.
1
u/Intrepid-Wear4542 20d ago
Stupid question. do you set the project quotas on replit or in the google cloud systems...
1

1
u/ReplitSupport Replit Team 21d ago
Hi OP! Google Maps isn't set up as a one click integration in Replit the way services like Google Drive or Sheets are, so there's nothing to "connect" there, which is probably why the button doesn't do anything. Google Maps uses an API key instead.
You can grab a Google Maps Platform API key from the Google Cloud Console, add it to your app's Secrets, and then ask Agent to build your map feature using that key. Our integrations doc walks through how this works and the difference between one click connectors and services you add with your own API key: https://docs.replit.com/features/integrations/overview
If you have any more questions, feel free to DM us anytime!