0

I'm implementing google maps where I'm passing address to google maps api to get current location on map, but it is showing following error in browser console,

 This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/apis/api/geocoding_backend?project=_ For more information on authentication and Google Maps Javascript API services please see: https://developers.google.com/maps/documentation/javascript/get-api-key

Also I want to use google maps api on server side, to fetch latitude and longitude based on provided address. I am new to implement google maps api, any help is much appreciated.

Aamir
  • 2,173
  • 1
  • 29
  • 58
  • 3
    http://stackoverflow.com/questions/32994634/this-api-project-is-not-authorized-to-use-this-api-please-ensure-that-this-api – Hardik Jul 21 '16 at 06:57

1 Answers1

2

you should register to google map api from https://developers.google.com/maps/.

select the specific api for you

click on Get a Key

Then Create a new project

Activate the Google Maps JavaScript API

copy you key and put it in the api url you are using in your code

if the api did not respond you need to add a domain on which you are working and then

Done!