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

All Questions

0 votes
0 answers
19 views

Having trouble loading a createObjectUrl() image in React

In my express/react project, I'm using the google places api to get city images. I send the image to the client as a blob, then use URL.createObjectURL(blob) to convert it into a url. express: ...
Ozan's user avatar
  • 13
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
1 answer
127 views

Getting this error with Places API "Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'fE')"

I am having the issue when I try and use the Places API for address autocomplete in React with ts. When I run the project again the address autocomplete does fill out the address forms correctly but ...
Noah Diana's user avatar
0 votes
1 answer
174 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
1 answer
140 views

Implementing Places Search Box in ReactJS

I need to implement the Google Places Search Box using the Google Place Autocomplete feature as it is shown here. And it should be allow the user to select a location from the search box. The sample ...
Movindu G's user avatar
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
1 answer
233 views

Google places API reviews translated and not shown in original language

I am using the API to show reviews but for some reason even though they are originally in Slovak language they are translated to english when I try to fetch them as you can see here: author_name ...
Mast3rKoo's user avatar
1 vote
2 answers
64 views

How to hide api in class element on fetch foto from Google api places

IONIC CAPACITOR AND REACT FOR NATIVE AND WEB APPS When I m fetching photo data from google api with that code below. It works good but when i inspect on website i can see on photo src my APIKEY how ...
Kacper's user avatar
  • 19
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
0 votes
1 answer
495 views

NextsJS/React integration with Google Places API

I'm creating a project using Firebase and need to create an input field where the user can type a name/adress(and the interface shows some results) or use their own location(lat, lng) to find ...
Augusto M. G.'s user avatar
1 vote
1 answer
392 views

How can I hide a google places api key that needs to be in the index.html of a react app?

I have a mern stack with a payment page I want to implement google places api for an address auto complete feature in the form. I have the form figured out but I need to add this script tag in the ...
KingJoeffrey's user avatar
0 votes
1 answer
257 views

How to add a delay with which a google places autocomplete api is called?

I want to delay the call to google places autocomplete api by 500 ms after every change in search-box character. This is the code I am using : import React, { useRef, useCallback } from "react&...
Aditya Sheth's user avatar
0 votes
1 answer
292 views

Access string of selected place in StandaloneSearchBox in react-google-maps/api

I'm wondering how I can access the actual value in a <StandaloneSearchBox ..> component after the user selected it from the autocomplete dropdown menu. I basically want to make it a controlled ...
yumba's user avatar
  • 1,076
0 votes
1 answer
1k views

React-google-places-autocomplete street_address component not working?

I'm trying to split my autocomplete address into it's individual components to autofill an address form. I can get most of the address components to work, but when I get to the "Street_address&...
Christopher Koziol's user avatar
1 vote
0 answers
128 views

Google Places API - search global, not in specific region?

I'm building a service to search for tourist attractions based on a keyword around the world. For example, user searches for 'beach', id like top 20 beach destinations to be returned. I'm using places ...
Tom Downing's user avatar

15 30 50 per page
1
2 3 4 5
8