Google Charts: Maps - requesting API Key - google-maps-api-3

I have some doubts about Google Charts library when we talk about maps and GeoCharts. I was having this issue that maps stopped working when simply changed the name of the file and this error popped up in my browser console:
Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
I searched over the web and found some questions here declaring that the maps service VIA GoogleCharts (visualization) didn't have limitations nor charges. BUT, I was able to resolve the problem above using a free JS Map API key as oriented here: https://github.com/google/google-visualization-issues/issues/2292
It's a standard free key, so no charges, but there are limitations, right?
What about geocoding??
So, wrapping up all, considering Google Charts scope:
1) Is there a limitation or charge for Google Charts Maps & Geochart view?
2) Is there a limitation or change for geocoding data?
Thanks you for the clarification!

Related

gmapsdistance - which API is needed? [duplicate]

I've started getting this error from a Google Maps widget within a CMS I use:
This API key is not authorized to use this service or API. Places API error: ApiTargetBlockedMapError
The error message provides a helpful link to this page, which includes the following text:
ApiTargetBlockedMapError Error
The Maps JavaScript API has not been authorized for the used API key.
Please check the API restrictions settings of your API key in the
Google Cloud Platform Console.
See API keys in the Google Cloud Platform Console. For more
information, see Using API Keys.
I know Google has tweaked this API in the past, so I went to the console and checked the permissions given for the key I am using. It includes these four permissions, include the Maps JavaScript API permission:
Geocoding API
Maps Embed API
Maps JavaScript API
Maps Static API
The only part not working is the address auto-complete. When I change to Don't Restrict Key mode so the key works with all services, it works fine. Any idea which service checkbox I might be missing? I'm wondering if Google is just displaying the wrong error.
Any ideas?
This is what I did. Updated.
Make sure you have enabled all the next Google Maps Services
If you have key restrictions, make sure you add the services like the next image..
Restart the project. It worked.
It turns out that Google has tweaked their permissions settings without updating the error. I had to give access to the Places API as well for the autocomplete to function.
I've submitted a PR to the CMS widget's documentation:
https://github.com/Frojd/wagtail-geo-widget/pull/59/files

How to Set Quota for Google Maps API from external site?

i'am trying to figure, how to set Google Maps API quota (specific : Geocoding API) from external site ? i want to build my own dashboard for set the quota, not using Google Cloud Console for daily operations.
PS : i need to set a certain quota on certain days.
I was searching for any tutorial & api on Google Cloud Console, i just found as far as enabling / disabling the API, not setting the quota
i expect some of tutorial or some kind explanation how to reach that.
It's a reasonable request but...
To my knowledge (!), there is no public API that would permit you to manage quotas (for any Google service) programmatically and thus through your own dashboards.
Found some references for you on controlling this using Google's Console:
https://developers.google.com/maps/documentation/geocoding/usage-and-billing
https://cloud.google.com/apis/docs/capping-api-usage

Google Maps API quality lower than Google Maps Consumer quality

We are using the Google Maps API on our web application. The map quality that is returned via the API is different than the quality of the map that is returned when using the standard Google Maps application. Is there a setting that needs to be configured as part of the API to ensure the same quality of map is returned?
This is an example of what I am referring to. https://www.google.com/maps/#-26.2514667,28.1114895,37m/data=!3m1!1e3
Good Quality
This is great quality, but the same location opened via the API has very low quality maps.
Poor Quality
Thank you for the responses. I have received some feedback (below) from Google's tech support. Will have to accept this for now.
"Hi George,
Thank you for contacting Google Maps Platform technical support. My name is 'redacted' and I'll be helping you today with your issue.
Please note that maps.google.com and Google Maps API are two different products. The imagery used in Static Maps, JS API and the mobile APIs may differ from each other, as well as Google Maps. Google Maps is specialized to use 3D imagery and 2D where not available, as it is optimized using WebGL. The Javascript API uses only 2D imagery.
With that said, to answer your question, there is no setting to ensure that same quality of map is returned. We do continuously update our global imagery.
"

Google Places API doesn't show all locations in custom app

From research I've learnt that Google Maps and Google Places are not the same thing, but can someone confirm this deduction: does that cause the app to not show all the locations that are shown in Google Maps (let's assume because the business owner didn't list it in Google Places)?
You shouldn't expect the Maps API Web Services and the Google Maps website to work in the exact same way at all times. The Google Maps website gathers data from many different sources. Also, the search stack is different. Due to this, you may find differences between the results of these two services, and you should not use Google Maps website results blind eyed as a control group for your Web Services requests. You can find confirmation that Web Services and maps.google.com can show different results in the Google Maps API FAQ at https://developers.google.com/maps/faq#geocoder_differences.

Google Maps V3 API: How can I get report of the use of the DIRECTIONS and GEOCODE APIS

I am using Google Maps API v3 in a Web.
And also I am using:
new google.maps.Geocoder(); (GEOCODING)
new google.maps.DirectionsService(); (DIRECTIONS for trace routes between 2 places)
Then I went to API Developers Console and create a KEY and I call the Google service in this way usin the key:
http://maps.google.es/maps/api/js?key='the-key-from-api-console'&sensor=true
The intent of this is to keep track of the use of apis to watch that I do not pass the limits of use.
In the API console Google reports me ok about the use of the javascript API v3 counting the number of visits, the number of loads of the maps even the URL of the pages that use the maps.
I can see that my use of this service does not exceed 25,000 requests / day
But i need reports of the use of GEOCODING and DIRECTIONS too and Google is not reporting me this info. In developers console I activated the Directions API, the Geocoding API and Google Maps JavaScript API v3. But I only get reports of Maps JavaScript API v3.
Report of Directions API and the Geocoding API stay always at 0%. It is as if Google is not using this report.
Could it be that the service should be contracted to have this data or to be other types of APIS enable the console in order to have use of this report?
I've been trying to find information clarifying this for me but I found nothing that completely solved my doubt.
Thanks in advance.
When you use both services via the methods of the Javascript-API the limits apply to the user that visits the page with the map, the quota of your account is not affected(so there is nothing to count/report for your account/project)
It applies to your account only when you request the webservices(usually via serverside scripts).

Resources