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.
Questions tagged [google-places-autocomplete]
424 questions
-1
votes
2 answers
Google Maps set a text field value when address is selected
I'm trying to work out how to set the value of a text field called rehabGroup when I do an search for an address.
The autocomplete form I'm using consists of 2 maps.
I need to take the value from the locality returned result and use it to search…

Rod-Miller
- 7
- 3
-1
votes
1 answer
How to Append google auto complete inside modal
I am trying to add Google autocomplete places inside modal popup, but the issue I am facing is that it appends to body instead of modal, is there any way we can append it inside modal?
Codepen Example
Reason: when modal opens, it scrolls set to…

Shoaib Khalid
- 29
- 4
-1
votes
1 answer
Google map preview selected location on map
I would like to allow my user to pick a location as well as previewing searched location to pick location.
Problem
Am not able to integrate the search-box to preview the searched location.
Code I am using

Stack
- 11
- 6
-1
votes
1 answer
How to restrict google map autocomplete
Question 1) I'm attempting to search for an postcode (UK) via autocomplete code below
For example, if I search for
NE237AP- this is what I get
Annitsford Drive, Dudley, Cramlington NE23 7AP, UK
But the postcode is omitted if I search street…

PaulJames
- 95
- 1
- 8
-1
votes
2 answers
how to implement google places autocomplete search box without places SDK for android?
I'm developing an android application that uses Uber like google maps place picker using kotlin. I've achieved all the required functionality but I couldn't able to find an updated tutorial on implementing place search autocomplete EditTextView.
I…

toddash
- 167
- 2
- 17
-1
votes
1 answer
How to resolve multiple errors in Initializing google new AutocompleteSupportFragment (google places)
I am attempting to migrate to the new places SDK. I have successfully added all the libraries to my app-level build.gradle, and updated my XML fragment. However, the code implementation to initialize the AutocompleteSupportFragment has multiple…

Ken
- 41
- 4
-1
votes
1 answer
How to disable the know your location popup
Here I'm using this Places API in my project to find the locations of user but when I click on the field popup is opening as know your location by giving two options allow and block but client don't want that popup to be open it always allow the…

ganesh
- 55
- 1
- 3
- 8
-1
votes
1 answer
How to limit marker to a Specific City in google map Javascript api?
I am developing a sample application to work with all the google map API with javascript code. Currently am in need to limit the user to select only the area inside a particular city (say Chennai-India) using a marker in Google Map API.
How can I…

R.Prem Kumaran
- 55
- 12
-1
votes
2 answers
How to Get addresses from postalcode as like royalmail find-a-postcode
My question is:
How to Get addresses from postalcode as like royalmail find-a-postcode ?
For this i have created a demo page and did lots of R&D but not getting any scussess.
YOu can check the demo page and royal mail site and enter postalcode "HA5…

Manish Dalwadi
- 1
- 2
-2
votes
0 answers
How can I init Google Places Api key without AppDelegate, SwiftUI + GooglePlaces
import SwiftUI
import GooglePlaces
struct Place: Identifiable {
var id = UUID().uuidString
let name: String
let identifier: String
}
class GooglePlaceManager: ObservableObject {
@Published var places: [Place] = []
…

Almat Kairatov
- 1
- 2
-2
votes
1 answer
How do I get a sessiontoken from google place autocomplete API if I am working with the web service?
Before I was using the Javascript widged from google autocomplete place and fine, it worked and there's a function so you get the sessionToken and you save some $$ in billing, but my PM wanted me to work using request to…

zergcore
- 29
- 5
-2
votes
1 answer
How to create a form with address autocomplete in flutter ? not interested to see points or map - it is only for register page
Hello guys I am new at flutter and building register page for my app. I have the following issue when I try to use below code in form field Someone can help me please ?
The instance member 'kGoogleApiKey' can't be accessed in an initializer.
I am…

213Lord
- 17
- 2
-2
votes
1 answer
How to get results in google Places API starting from a particular place first
I am creating a small solution by using the Google Places API.
When I am searching "30306" its showing me these results: multiple options but not GA(Georgia)
while on an another example site when I am searching the same keyword its showing…

Atul Rajput
- 4,073
- 2
- 12
- 24
-2
votes
1 answer
@react-google-maps/api's Autocomplete is giving me "This page cant load Google maps correctly"
I am using https://www.npmjs.com/package/@react-google-maps/api to render googlemaps and I am trying to get the Autocomplete to work. https://react-google-maps-api-docs.netlify.app/#autocomplete
When I try to search for a location I get "This page…

Ole Nor
- 135
- 8
-2
votes
1 answer
Styles for google places autocomplete not working
I'm working on Angular 9 and Ionic 5 and I'm using google places autocomplete for an address input. The autocomplete works fine and thanks to this I managed to edit the styles on my browser. Then I went to my stylesheet (scss) to put these styles…

Joel Flores Sottile
- 61
- 1
- 2
- 14