An API providing detailed information about 100 million places, using the database behind Google Maps and Google+.
Questions tagged [google-places]
830 questions
8
votes
2 answers
New Google Places Autocomplete and its pricing
I am using the new Place Autocomplete that is from the new static Google Places SDK client library (here). So it is really easy to use and I just got this tutorial and it is working as expected.
To add this in the project, I have to add following…

A.s.ALI
- 1,992
- 3
- 22
- 54
8
votes
3 answers
Failed to resolve: com.google.android.libraries.places:1.0.0:
I want to use Google places API but I can't sync the project with "com.google.android.libraries.places:1.0.0:" dependency. How to add the places in my project?.
user11029823
8
votes
3 answers
Place Autocomplete Error while autocompleting: OVER_QUERY_LIMIT
When I try to search at Place Autocomplete I got Can't Load Search Results
and the logs say
"Error while autocompleting: OVER_QUERY_LIMIT"
I have enabled https://console.cloud.google.com/
and API key works well.
Java Code
String apiKey =…

AhmedEssam
- 113
- 1
- 6
8
votes
3 answers
Google Places API returning strange results
I am using google places API to return basic information about businesses such as
- name
- address
- phone
and maybe images later but even the above 3 would be great initially.
The results being returned don't seem to be as accurate as when I…

user1547410
- 863
- 7
- 27
- 58
8
votes
1 answer
Get place_id of address_components
I am using Google place autocomplete. And I don't know how to get place_id of address_components. In JSON there are only long_name, short_name, types.
My code is here:
var object_location = document.getElementById('object_location'),
…

bahek2462774
- 662
- 7
- 12
8
votes
5 answers
Use of undeclared type 'GMSPlacesClient'
I'm trying to implement Google Auto complete service and, I get this message:
Use of undeclared type 'GMSPlacesClient'
I imported Google Maps module and it works with GMSMapView...
I don't understand what is happening.
Does anyone have the same…

tornic
- 747
- 6
- 15
8
votes
3 answers
Android Google Places API - PlaceAutocompleteFragment clear button listener
I am using Google Places API for Android - PlaceAutocompleteFragment API in my project to search locations, when user selects a location then get the records using location lat-long and display it to ListView.
Now the problem is whenever user…

Bharatesh
- 8,943
- 3
- 38
- 67
8
votes
3 answers
How to restrict google places to specific city
I am currently able to restrict places to only one country, but I also want to restrict on a specific city also. Any ideas how to achieve that? This is my current code:
var autocomplete,
options = {
types:…

fishera
- 789
- 2
- 7
- 26
8
votes
7 answers
This IP, site or mobile application is not authorized to use this API key - Android
I have a problem with connection with Google maps API V2 and Android. I' ve enabled services:
Google Maps Android API v2
Places API
Also I've added sha1 fingerprint.
But I still get this message: This IP, site or mobile application is not…

Mitja Rogl
- 894
- 9
- 22
- 39
7
votes
3 answers
Cypress Test - Google Places Autocomplete not functioning
I am trying to use Cypress as a testing tool for an Angular website I am working on. One of the tests is for a location search, which uses the google places service to autocomplete locations. Functioning correctly, it looks like in the picture…

humesy
- 81
- 1
- 3
7
votes
2 answers
Google Places API Error - ApiException: 9008: PLACES_API_INVALID_APP
I want to use Google Places API in one of my Android Application. But I'm getting this error:
com.google.android.gms.tasks.RuntimeExecutionException:
com.google.android.gms.common.api.ApiException: 9008:
PLACES_API_INVALID_APP
What I have…

Maulik Dodia
- 1,629
- 2
- 21
- 48
7
votes
1 answer
What is a place or place_id (for testing purposes) in Google Places API that has associated html_attributions?
We are using the Google Places Place Details API (more specifically, the Google Maps Javascript API). As part of the terms of use, we must display the value of html_attributions from the response if it exists.
However, in trying to test our…

mattliu
- 823
- 12
- 28
7
votes
1 answer
How to enable CORS for Google Places API
I have tried everything possible to make my app work without the need for the "Enable CORS extension for Chrome". I followed the steps on Google's official website which talks of authtokens, tried using every different key, but nothing works. I get…

Ajinkya Kher
- 245
- 3
- 9
7
votes
2 answers
Google Places API photo error: 403 Forbidden
I'm trying to access Places photos using the photoreference.
This…

Geza
- 464
- 6
- 16
7
votes
2 answers
Place from Google Maps missing in Google Places API
I've been trying to find specific place in Google Places API with no success. When I type "La Cucina Trattoria" in Google Maps I get three results. However, when I run this…

nets
- 71
- 1
- 3