Google Maps Geocoding API
If you are using the API key, you'll have to enable the
Geocoding API as well. This API is required to convert any plain text
location into a pair of coordinates, for example "New York, NY, USA"
will translate to "40.712784,-74.005941".
Enabling it is very simply, it only requires a couple of
Create a project and retrieve the API key as shown in the previous
While you are inside the Console API, navigate to into the
Click on the Google Maps Geocoding
Figure 2.13. Google Maps Geocoding API: Select the API
Click on the Enable
Figure 2.14. Google Maps Geocoding API: Enabling the API
Congratulations! You're done!