All Questions
Tagged with google-places-api javascript
885
questions
0
votes
0
answers
23
views
Using Google Place Autocomplete API key on client side javascript for getting autocomplete suggestions for address autofill
I am developing a web application using HTML, CSS, Javascript as frontend and Django as backend python server. I have a form on the frontend side which consists of common address fields like street ...
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 ...
0
votes
1
answer
36
views
react-native-google-places API not working inside a <Modal>
my API working fine in my screen page, but I would like to work it inside a
No idea why inside a modal appear just the text input without the placeholder, we can type something but the autocomplete ...
0
votes
0
answers
30
views
GooglePlacesAutocomplete onpress event not working
During the text change, I can see all the suggested addresses that means the key is working as expected, however when I select and pressed the item nothings happen. The data did not show even I tried ...
0
votes
1
answer
175
views
React google places autocomplete returning only one place (Needing zip)
I'm attempting to use react google autocomplete, the issue I'm having is that for some reason both libraries react-google-places-autocomplete and react-places-autocomplete always return a single value ...
0
votes
0
answers
35
views
Get business rating over Google places API in Javascript (Client-Side)
I need to get a rating of a client and add it to a div. But i get an error in the console. How can i do this easily?
My Code:
/***** GOOGLE MY-BUSINESS / PLACES-DATA *****/
const apiKey = 'KEY-pHws-...
0
votes
1
answer
85
views
I want to filter Google places autocomplete suggestions only for India in Next Js
I am using the react-places-autocomplete package in my next js project, and I want to filter out the suggestions only for India. I don't want to show any location of other countries to my users.
I ...
0
votes
0
answers
69
views
Google Places API - Passing Multiple "Types" into the Autocomplete Function
I'm using the Autocomplete function with the Google Places API but when typing into the autocomplete form field I have, I'd like to filter by home and business addresses, so it would enable me to type ...
1
vote
0
answers
532
views
Google maps API: map doesn't load every time (Uncaught (in promise) InvalidValueError)
I built a contact form in which a user can find his house via Google Maps and afterwards adjust the exact position via marker so that this information will be sent to my WPForms as static image ...
0
votes
0
answers
91
views
Google Maps Places lat/lng not populating in Form
I have a Ruby on Rails 7 app and I am using Google Maps Places Autocomplete API to fill in a form with bar name, address, website, etc. This code works fine and has been for awhile.
I am trying to add ...
0
votes
0
answers
572
views
Axios: connect ECONNREFUSED ::1:80
I am building an application that uses axios to fetch result from the Google Maps API, my code looks like the follow
configs = {
method: 'get',
url: `https://maps.googleapis.com/maps/api/place/...
0
votes
1
answer
341
views
JavaScript: how to access photo result from Google Places API using photo reference
I'm implementing a backend that uses the Google Places API, and I wish to retrieve photos of locations using photo reference, like
this
My code so far looks like the follow, where I retrieve the photo ...
-1
votes
1
answer
116
views
JavaScript: How to store photo data obtained from Google's Place Photo API
I am developing a backend in Node.js that uses the Google Places API. I wish to get a photo from the API based on a search string on the destination, and then pass the photo to the front-end
My code ...
0
votes
1
answer
100
views
How can I add an image to each div in the results of a Google Places API call?
I'm trying to embed google reviews into a website. I'm trying to add this image into each review. Currently it generates 4 reviews but it doesn't add the image into each one and instead it just places ...
-1
votes
1
answer
151
views
Google Places API - Fetch place ID using the share link
I am trying to work on a feature where the user enters the share link of a place (ex. https://goo.gl/maps/T7mAjUT4FGaxxxxxx) and they get the google place ID (ex. ChIJBcCC4G4XHxURmxxxxxxxxxx)
I was ...