Questions tagged [google-places]

An API providing detailed information about 100 million places, using the database behind Google Maps and Google+.

830 questions
162
votes
6 answers

ApiNotActivatedMapError for simple html page using google-places-api

I'm trying to create a simple html page (I'd later like to add an autocomplete input there) that include google-places-api. I have an api-key (which is enabled) but I still get an error message. Here is my html-
Roy
  • 2,638
  • 3
  • 16
  • 12
100
votes
5 answers

google places library without map

I am trying to use the google places library for a nearby search request: https://developers.google.com/maps/documentation/javascript/places#place_search_requests i just want to pull the json response and put it in a html list, i do now want to show…
user985409
  • 1,355
  • 3
  • 9
  • 18
37
votes
9 answers

Google Places Autocomplete - Pick first result on Enter key?

I'm using a Google Places Autocomplete and I simply want it to select the top item in the results list when the enter key is pressed in the form field and suggestions exist. I know this has been asked before: Google maps Places API V3 autocomplete…
34
votes
4 answers

How to fire place_changed event for Google places auto-complete on Enter key

The click seems to fire the event and set the cookies but pressing enter to submit doesn't set the cookies and instead the page redirects without the cookies. function locationAuto() { $('.search-location').focus(function () { …
John Stephenson
  • 443
  • 1
  • 4
  • 5
33
votes
7 answers

Google PlacePicker Closes Immediately After Launch

I am developing an Android Application and was looking into Google Places for some functionality within the application. Google has recently released the PlacePicker feature which is what I am using. I have followed the Google guidelines and quick…
Cole Laidlaw
  • 393
  • 1
  • 3
  • 10
30
votes
2 answers

Google places API returning only 5 results

I am using Google places API, It returns only top 5 search results. Is there any way to increase the count. e.g. URL I have searched for keyword…
Jitender Dev
  • 6,907
  • 2
  • 24
  • 35
28
votes
10 answers

Adding Multiple Instances of Google Places on Same Page

I'm looking to include 2 instances of Google Places auto-complete on the same page. Looking to setup an input for a Pickup Location and an input for a Dropoff Location. I'm assuming it has to do with the ID of the input element, but even when I…
Colin Keany
  • 309
  • 1
  • 3
  • 9
24
votes
7 answers

How to get 20+ result from Google Places API?

I am developing an app in which I am getting the list of ATM's near by the user. For that I am using Google Places API, but every time it returns 20 result only. I want to get more results. In the API doc it is mention that it will return 20 result…
Scorpion
  • 6,831
  • 16
  • 75
  • 123
22
votes
1 answer

PlacePicker.getPlace() is deprecated

I'm trying to develop an application based on google place API. When I try to use Place place=PlacePicker.getPlace(data,this); there is an error showing getPlace() is deprecated. Please suggest a solution. Thanks in advance!
Sai Raman Kilambi
  • 878
  • 2
  • 12
  • 29
20
votes
8 answers

bind google places autocomplete on textbox without instantiating a google map

I'm trying to add Google Places Autocomplete on my Website. I'm having a problem with binding my search textbox with Autocomplete without the use of instantiating a google map. What I'm trying to do is, I want to use the autocomplete as a text…
MeepMerp
  • 263
  • 2
  • 3
  • 8
15
votes
2 answers

Change foreground and background color of Place Autocomplete Fragment

I've used Google Place API and integrated Place Autocomplete Fragment. Can i change its Foreground or background color. It seems bit dull in my device. And I also want to know that can I set "powered by Google" sentence to at the bottom part of…
15
votes
2 answers

Google places API hierarchy - neighbourhood/suburb -> city -> region -> country

Problem - people posting in various places based on their interest while other people are searching for posts in greater areas. e.g. - user A posts under Bondi Beach, a suburb of Sydney. user B searches for posts under Sydney. Desired outcome - user…
giLisH
  • 196
  • 1
  • 12
14
votes
1 answer

How do I get a Google Places API key for my Android App

I've spent the last 48 hours pulling my hair out trying to find the answer to this question. The person who asked this question: how can I make API KEY for Google Places api? Is experiencing the same issue I am having, but never got an…
PGMacDesign
  • 6,092
  • 8
  • 41
  • 78
13
votes
1 answer

Find Place requests Returns Only One Result

I'm using the Google Places API endpoint "findplacefromtext" and tried a search similar to the…
Andrew Schultz
  • 4,092
  • 2
  • 21
  • 44
13
votes
3 answers

InvalidValueError: initAutocomplete is not a function Google Places and Autocomplete API

Hope you can help as I've hit a wall, I'm also quite new to using Google's Places APIs. I'm not going to post any code just yet as my code works fine when the 2 pieces I am about to describe run in isolation. I am using Google's Places in addition…
1
2 3
55 56