Error Description:
The Maps JavaScript API is not activated on your API project. You may need to enable the Maps JavaScript API under APIs in the Google Cloud Platform Console.
To enable the Maps JavaScript API for your project, do the following steps,
Step 1: Go to Google Cloud Platform Console. Assume if you have already logged in your google account then you will be redirecting to below page, if not sign in with your google account.
Step 3: Select desired option, Maps JavaScript API. You will be redirecting to below page. You can see Enable button there. Click to enable API.
The Maps JavaScript API is not activated on your API project. You may need to enable the Maps JavaScript API under APIs in the Google Cloud Platform Console.
To enable the Maps JavaScript API for your project, do the following steps,
Step 1: Go to Google Cloud Platform Console. Assume if you have already logged in your google account then you will be redirecting to below page, if not sign in with your google account.
Step 2: Click on Enable APIs and Services, you will be redirecting to below page.
You will be redirecting to below page, once API got enabled.
That's it.
Check API:
This request demonstrates using the JSON output flag:
https://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_APP_KEY
This request demonstrates using the XML output flag:
https://maps.googleapis.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_APP_KEY
Comments
Post a Comment