Skip to main content
The 2024 Developer Survey results are live! See the results

All 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 ...
destroyer666's user avatar
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 ...
Leonardo Furtado de Luna's user avatar
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: ['...
olivierf's user avatar
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 () { ...
samarjit singh's user avatar
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 ...
Hasin Raiyan Sidney's user avatar
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()...
Cipri's user avatar
  • 103
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 ...
Craig Watson's user avatar
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/...
Daniel.M's user avatar
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 ...
Vinh Hung Nguyen's user avatar
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 ...
Andrey Nikitin's user avatar
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 ...
Dane Christianson's user avatar
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{ ...
Saravanan's user avatar
  • 123
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 ...
Karios's user avatar
  • 105
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 ...
Blake Hayes's user avatar

15 30 50 per page
1
2 3 4 5
22