Questions tagged [google-places-autocomplete]

The Place Autocomplete service is a web service that returns place predictions in response to an HTTP request. The request specifies a textual search string and optional geographic bounds. The service can be used to provide autocomplete functionality for text-based geographic searches, by returning places such as businesses, addresses and points of interest as a user types.

424 questions
26
votes
1 answer

How to create a simple google maps address search with autocomplete in flutter and get latitude and longitude?

I'm new at Flutter and I'm trying to build a simple google maps app. I've already implemented google maps to the app and it is running perfect. But now I want to add google maps autocomplete and I can't find a simple tutorial or example that is…
20
votes
2 answers

How long do the new Places API session tokens last?

I have a website that uses address autocomplete on multiple pages--address book, shipping address, billing address. With the billing changes releasing next month, we can convert the Autocomplete process to use sessions instead of individual…
19
votes
3 answers

google.maps.event.addDomListener() is deprecated, use the standard addEventListener() method instead : Google Place autocomplete Error

I am trying to add Google place auto suggest, I copied the code from the developer's website to try it out but got the error : google.maps.event.addDomListener() is deprecated, use the standard addEventListener() method instead. Also I am not…
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:…
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…
16
votes
3 answers

OnPress for React Native Google Places Autocomplete doesn't work due to its parent components

I'm trying to use the react-native-google-places-autocomplete library within my React Native app, but I'm having an issue clicking on the suggested list. Whenever I click on the Google suggested address, the list disappears and onPress doesn't grab…
Kevvv
  • 3,655
  • 10
  • 44
  • 90
14
votes
5 answers

Google Places for Android API key does not work on app from Play Store

I recently launched an Android app which makes use of the Google Places autocomplete widget/API. As part of the configuration for this, I added the API key to my Android's manifest file: ...
Tim Biegeleisen
  • 502,043
  • 27
  • 286
  • 360
11
votes
1 answer

Implement Sharing Location Places Picker same like WhatsApp without Places Picker Since it got deprecated

We had a requirement of sharing location which is a similar kind of WhatsApp with respective to User Interface & functionality. I have come across that Google Place Picker has got deprecated and also migrated to Places Clients. Say Like as, and…
11
votes
4 answers

Places for Android API deprecated alternative

I was trying to implement the Places API. My code looked like this: val builder = PlacePicker.IntentBuilder() startActivityForResult(builder.build(mActivity), PLACE_PICKER_REQUEST) My maps credentials were correct, but for this call I got Places…
11
votes
3 answers

Google places AutoComplete widget is generating a new Session Key per every request

Recently, Google has updated some billing policies as part of that they've introduced SessionTokens for the Autocomplete requests. As part of that, every request in the same session will be sent the same token in the request and it's automatic if we…
10
votes
2 answers

How to get opening hours of a Place with Place Autocomplete intent builder in Android?

Currently, I am building a functionality to search for a company with an AutocompleteTextView. To achieve this I use A PlaceAutocomplete IntentBuilder with the overlay mode like this: try { AutocompleteFilter typeFilter = new…
9
votes
3 answers

TypeError: undefined is not an object( evaluating 'navigator.geolocation.getCurrentPosition') in react-native-google-places-autocomplete

I am trying to use react-native-google-places-autocomplete for google places and at the sametime I want user current position also. But im getting an error called as TypeError: undefined is not an object( evaluating…
keshava
  • 231
  • 1
  • 2
  • 10
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

Google Places API AutocompleteSupportFragment Null pointer Exception

I am using the Google Places API to get an autocomplete support fragment to get a search bar with location suggestions. I followed the tutorial given here Places Autocomplete This is the XML code
7
votes
1 answer

How do I use Autocomplete component of Material UI with InputBase?

The params object dosen't seem to be working with InputBase. I also tried ref={params.inputProps}. Im using the googleplaces autocomplete
Shivam Rawat
  • 241
  • 1
  • 4
  • 8
1
2 3
28 29