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

All 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 ...
Srinath Silla's user avatar
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
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 ...
renanmalato's user avatar
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 ...
user24286023's user avatar
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 ...
Nilton Schumacher F's user avatar
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-...
public9nf's user avatar
  • 1,379
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 ...
Md Injamul's user avatar
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 ...
Lewis Hardisty's user avatar
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 ...
dale_cooper's user avatar
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 ...
Splohr's user avatar
  • 67
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/...
Banned User's user avatar
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 ...
J Qin's user avatar
  • 15
-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 ...
Banned User's user avatar
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 ...
sytez's user avatar
  • 3
-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 ...
Yasser Shkeir's user avatar

15 30 50 per page
1
2 3 4 5
59