All Questions
Tagged with google-places-api autocomplete
328
questions
0
votes
0
answers
19
views
How to filter Google Places API autocomplete results before displaying them to the user? [duplicate]
I am working on a web application that uses the Google Places API to provide address suggestions for postal codes and towns. I need to filter the autocomplete results based on a specific regex pattern ...
1
vote
0
answers
166
views
Google API Place Autocomplete for Android - Error: Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true
The error seems in the log every times that I search a new address in a AutocompleteActivity from the second time onwards.
I am making an Autocomplete functionality in an Android application to API 33 ...
0
votes
1
answer
102
views
Google Places API : some countries (french DOM-CROM) are not listed in autocomplete
I'm looking to autocomplete locations of french DROM-COM (overseas administrative departments and territories) but they are not listed in the results.
Here are my config :
var options = {
types: ['...
0
votes
0
answers
17
views
not getting formatted_address from google place API
useEffect(() => {
autoCompleteRef.current = new window.google.maps.places.Autocomplete(inputRef.current, options);
autoCompleteRef.current.addListener('place_changed', async function () {
...
4
votes
1
answer
1k
views
Google Place Autocomplete API showing invalid address
We are currently trying the Google places autocomplete api, but it seems as though Google places autocomplete api also returns invalid (non existent) addresses in the search result.
We want to receive ...
0
votes
1
answer
791
views
Get Address from current location Kotlin
I get the current location like this:
val fusedLocationClient: FusedLocationProviderClient =
LocationServices.getFusedLocationProviderClient(LocalContext.current)
fun getLastKnownLocation()...
0
votes
1
answer
73
views
Restricting Places API in Wordrpess Address Lookup
I have a simple address lookup or autocomplete as part of a Wordpress site
https://diversechurch.co.nz/find_a_church/submit-a-church/
I want to know if it is possible to restrict the lookup results to ...
0
votes
1
answer
2k
views
How to fix typescript error Type 'string' is not assignable to type 'Ref<InputRef> | undefined'?
Why did it Fail to compile??
C:/Users/danie/OneDrive/Desktop/Project/seller-app/src/components/ui/maps/places-autocomplete.tsx
TypeScript error in C:/Users/danie/OneDrive/Desktop/Project/seller-app/...
0
votes
1
answer
304
views
How to fix UI of GMSAutocompleteViewController in iOS 15?
Before iOS 15, the Autocomplete feature was totally fine. However, from iOS 15, the GMSAutocompleteViewController has the bug as can be seen in the following screenshot. The screenshot also shows the ...
0
votes
1
answer
2k
views
Autocomplete house number with Google api
I have a custom address input form, and perfofrm requests for Google Place API from my back-end to autocomplete user's input, but i can't get house numbers by the street. I performed requests like ...
0
votes
1
answer
153
views
Google Places Autocomplete API - Abbreviate Cardinal Direction on input
I'm using Google Places Autocomplete for looking up addresses, and I want users to be able to type abbreviations for the cardinal directions in their street addresses.
For example, my users have to ...
0
votes
0
answers
94
views
Get a day from opening_hours google autocomplete API
I need to get a day from restaurant opening hours(Autocomplete) api. I can get opening and closing hours and could not get the day. This is my code.
if place.openingHours?.periods != nil{
...
0
votes
1
answer
599
views
Failed assertion: line 20 pos 16: 'longitude != null': is not true
I'm trying to build a TaxiApp where a passenger is supposed to search for a dropOff location but each time the user searches for a location and clicks on it using the Google Autocomplete It keeps ...
2
votes
2
answers
7k
views
Material UI - Google Maps Autocomplete - Restrict to city and state?
I'm using the Google Maps Places Autocomplete that comes with Material UI and I'm stuck on trying restrict the results. When a user starts typing the only suggestions I want returned are City, State ...