0
votes

I ran "http://maps.googleapis.com/maps/api/geocode/json?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=true" in iPhone project for getting coordinate of "1600 Amphitheatre Parkway, Mountain View, CA". But I got the response:

"REQUEST_DENIED"

I didn't find why this error occured. Please help me. Thanks.

2
Works for me. Check the docs for possible reasons. Perhaps you made too many requests in too short a time.nevan king

2 Answers

0
votes

Read this tutorial, it's very helpful...hopefully it helps you out

0
votes
They are different versions available
Address for geocoding -> ”http://maps.googleapis.com/maps/api/geocode/json?address="
"https://maps.googleapis.com/maps/api/geocode/json?address=" // here you put your address then add the key
"https://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=" // no need for key just add the address
for any address lookup
"https://maps.googleapis.com/maps/api/place/autocomplete/json?input="