Google Maps Javascript API quota is set to 1 [duplicate]
Asked Answered
H

2

5

I'm receiving this error when using Maps Javascript API

Maps error

Apparently, it's because I have exceeded my quota limit; however Google states I have up to 100,000 requests per 24 hours (Google Usage Limits)

When I access Gmy API dashboard, it states my quota limit is one on "Map loads per day".

Google quota limit

Appreciate your help, tnks

Hayleyhayloft answered 4/8, 2018 at 17:43 Comment(1)
Because of your billing acount country is is blacklist. Some countries now are stopped for using Google map Javascript API. I have this problem too, then try to add new billing account with US region then the map back to work. (info: cloud.google.com/maps-platform/terms/…)Simsar
D
5

I've been having this issue too - however Google documentation contradicts itself in places.

According to "Detailed guide for users of the standard Google Maps JavaScript API" - Enable Billing (step 7) is optional.

Yet clicking more info gives you "You must enable billing on each of your projects" - it's all a bit irritating as this causes confusion for clients (as well as devs!)

OpenStreetMaps is a nice alternative, bit harder to get up and running with and no nice scroll block by default. I'm currently switching to this while Google alienate their userbase

Danley answered 6/8, 2018 at 11:28 Comment(0)
A
3

Looks like you need to have billing enabled on the account now, tried with 2 gsuites account, limit is 1 without billing account attached and unlimited with billing account attached.

Edit: see https://developers.google.com/maps/documentation/javascript/usage-and-billing?hl=en_US

Important: Enable Billing As of July 16, 2018, to continue to use the Google Maps Platform APIs, you must enable billing on each of your projects. If you choose not to add a billing account, your maps will be degraded, or other Maps API requests will return an error.

Anchoress answered 6/8, 2018 at 7:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.