Questions tagged [google-places-api]

The Google Places API is a service that returns information about places using HTTP requests. Places are defined within this API as establishments, geographic locations, or prominent points of interest.

The Google Places API is a service that returns information about places using HTTP requests. Places are defined within this API as establishments, geographic locations, or prominent points of interest.

The Places API is also available with the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services. The Places API and the client libraries are for use in server applications.

If you're building a client-side application, take a look at the Places SDK for Android, the Places SDK for iOS, and the Places Library, Maps JavaScript API.

Links

Related tags

4993 questions
19
votes
5 answers

How to implement google places autocomplete programmatically

Autocomplete predictions don't show up in my MapsActivity when i type text in AutoCompleteTextView (mSearchText). I tried following the tutorial at the following link:…
19
votes
5 answers

Remove placeholder text from Google Maps Places API

I'm using the Google Maps Places API Autocomplete function to provide a location autocomplete on a page, similar to this: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform I'm also using Google…
19
votes
1 answer

How to retrieve google place details for multiple places (placeids)

Is it possible to retrieve place details for multiple places? https://maps.googleapis.com/maps/api/place/details/json?placeid=[ArrayInsteadOfJustOnePlaceId] The documentation does not mention anything regarding the resolving of multiple…
dc10
  • 2,160
  • 6
  • 29
  • 46
19
votes
7 answers

No way to remove google places autocomplete?

var autocomplete = new google.maps.places.Autocomplete(input, { types: ['geocode'] }); How do I remove it now? There's "autocomplete.unbindAll()" function but it doesn't remove the HTML for the dropdown box. I have a page that does a lot of…
thelolcat
  • 10,995
  • 21
  • 60
  • 102
19
votes
2 answers

Google Places API Picker display Only Certain Types of Places

I am making certain android app that requires user to choose a place. I am planning to user google places API.Link: https://developers.google.com/places/android/ This API gives gives nice way to do so through through Place Picker.…
19
votes
2 answers

Inconsistent language in Google Place Details API

I'm using Google Place Details API on my server to store information about a place, using the placeId sent by a client. I'm facing an issue regarding the language of the result, which differs when the place is a city or an address in that city, even…
Jukurrpa
  • 4,038
  • 7
  • 43
  • 73
19
votes
1 answer

Get Google Place Details Without Map

I have a reference to a Google Place, and use the Javascript API to get the place details. It works fine as long as there is a map on the page. But if there is no map - I only want the place's details - it breaks because the variable map is not…
user1912899
18
votes
6 answers

Adding PlaceAutocompleteFragment to fragment throws error

I have implemented PlaceAutocompleteFragment in activity and is working successfuly. But how to implement the same in fragment in android? I have implemented placeautocomplete fragment like this PlaceAutocompleteFragment autocompleteFragment1 =…
Amit Nair
  • 295
  • 2
  • 5
  • 21
18
votes
2 answers

How to get more than 20 results ie. 60 using google place API with PHP?

I am developing an google places API application where my target to get all available details of a specific query. But as I know google places API only returns 20 results at a time.But I need all available place details. If I search with a search…
user1559230
  • 2,790
  • 5
  • 26
  • 32
17
votes
3 answers

java.lang.IllegalStateException: Places must be initialized

I was using the old Place SDK which was working fine But it is going to be depreciated and I move to new place SDK. I got keep the crashing report from a few devices. Crashes Report: Fatal Exception: java.lang.RuntimeException Unable to start…
17
votes
8 answers

Disable select button while selecting location of anonymous location using Place picker google API in android

I want to save user form information with location field. For location I want to open google map on some button click and location to be selected when user click on location over map and post-filled location into form. I found place picker as…
Dr_Dang
  • 452
  • 6
  • 15
17
votes
1 answer

what is solution of this error:-Requests to this API must be over SSL

I am using Google Place API for getting the distance between two cities, but when I call the service via http://maps.googleapis.com/maps/api/distancematrix/json?origins=dehli&destinations=pune&mode=bicycling&language=en-EN&sensor=true&key=AppKey the…
jaydev
  • 1,629
  • 5
  • 17
  • 31
17
votes
2 answers

Paging on Google Places API returns status INVALID_REQUEST

I'm using the Google Place API for place search: https://developers.google.com/places/documentation/search After the first query of the api, I'm getting the next page by setting the pagetoken. If I wait 2 seconds between requests, it works, but I…
Tom Kincaid
  • 4,887
  • 6
  • 47
  • 72
17
votes
3 answers

Google Place API usage limitations and billing

I have developed one app in which i have used the Google Place API. This is what places doc says about limitation. The Google Places API has the following query limits: Users with an API key are allowed 1 000 requests per 24 hour period. Users who…
Prem
  • 1,664
  • 3
  • 15
  • 20
16
votes
4 answers

Google Maps Autocomplete WITHOUT Atmosphere Data

I am currently using the Google Maps Places Autocomplete Javascript API to let users select a location by searching for the address or establishment name. Example code: autocomplete = new…