New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set up Google Maps API #48
Comments
Yes. Starting June 11, 2018, when you enable billing, you get $200 free usage every month for Maps, Routes, or Places. Based on the millions of users using our APIs today, most of them can continue to use Google Maps Platform for free with this credit.
Even though your first $200 of monthly usage is free, all Google Cloud Platform services require a credit card and billing account, to cover any amount you spend over this free credit. If you are billed, we'll credit your account for the first $200 of monthly usage. If you choose not to add a billing account, there is a risk that if your usage exceeds $200 in a given month, your Maps API implementation will be degraded or other API requests will return an error. If your estimated usage will be above $200 a month and you don't have a credit or debit card to set up a billing account, a local Google Maps Partner may be able to help. Obviously Google is not clear if a billing account has to be added or not. So do I have to add a billing account after all or do I just get errors if I do not add a billing account and the limit is reached? |
|
Since I have observed that geocoding is completely broken on sm.o I now spent another two hours on top of the two hours I already spend on trying to get it working. What I have additionally done now:
As a result still 100% of all geocoding requests are answered with code 403. Regrettably Google does not specifiy why it answers all requests with error code 403. All examples that involve geocoding continue to be broken on both websites for all maps services since they all rely on googlemaps geocoding. To sum up: I am sickened, saddened and worst of all utterly fatigued. |
I'll have a look myself if perhaps the API maps uses no longer exists or something. But as mentioned on the linked issue, you do not have to use the Google service. |
Thanks a lot for the pointer to the alternative geocoding providers. I have now switched to 'nominatim' which provides better results than 'geonames' and deleted the "Geocoding API" from the Google Maps keys. Thus we are only using the "Maps JavaScript API" which is working. Note: I have nothing against someone how provides a service and wants to get money for it - au contraire. I however dislike that I spent about four hours trying to get it working and digging through contradictory information, supposedly doing everything what they want and in return be informed that all of the 8500 API calls errored out with an undocumented error code. I am done with Google geocoding as far as I am concerned. |
"Maps JavaScript API" from 2018-05-03 to 2018-06-03
|
Starting June 11, 2018 every site needs an Google Maps API key. At the same time it starts be be a paid service for everyone with a 200 USD credit for free calls every month.
Applicable for "s-mw.o" are dynamic maps with up to 28,000 loads. So we will go with that. I the limit of 28,000 is reached no Google maps will be served on the wiki.
Finding the console for API-keys is horrible. This is the quick link.
Docu I found along the way:
s-mw.o
The API may only be used from
https://www.semantic-mediawiki.org
orhttps://semantic-mediawiki.org
. Moreover only the "Geocoding API" and the "Maps JavaScript API" may be used.sb.s-mw.o
The API may only be used from
https://sandbox.semantic-mediawiki.org
. Moreover only the "Geocoding API" and the "Maps JavaScript API" may be used.Note: In April 2018
sb.s-mw.o
had 687 calls to the "Geocoding API" and 10 calls to the "Maps JavaScript API". No other specialized APIs were called.The text was updated successfully, but these errors were encountered: