5,863 questions
0
votes
0
answers
51
views
How to restrict Google Places Autocomplete to real delivery addresses in South Africa
I’m using the new Google Places API and need to send a correctly formatted address to a delivery company in South Africa.
I need the Autocomplete to return only real, deliverable street addresses (not ...
0
votes
0
answers
46
views
Google Places SDK: How to prevent iOS text search from sorting results by distance?
I'm using the Google Places SDK for iOS and Android, along with the new Places API (New), to implement text-based place search (e.g., "pizza" near the current location).
I'm passing the same ...
1
vote
0
answers
123
views
Using the Google Maps API, how can I retrieve the name of a building with only the street address?
I have a list of street addresses (eg: 123 Main Street) for which I need to identify the name of the building/institution at that address. The process by which I've been approaching this is to first ...
1
vote
0
answers
42
views
RESOURCE_EXHAUSTED: Quota exceeded for quota metric 'GetPlaceRequest' and limit 'GetPlaceRequest per minute' of service 'places.googleapis.com'
It is unclear at this point what the differences are between Place API New vs Legacy. In the latter, you never see these errors come up but on new they do. Why is that the case?
If I look at the ...
0
votes
1
answer
126
views
Google Maps - Places API: Why can't I combine ADDRESS and ESTABLISHMENT in setTypesFilter()?
I'm using the Places SDK for Android and trying to get both addresses and business names in autocomplete predictions. Since setTypeFilter() was deprecated, I switched to setTypesFilter() as ...
1
vote
2
answers
156
views
Google maps place id refresh
I have a relatively simple question, I can't find an answer for. I'm using the google places api and store the ids. However the documentation states, that refreshing placeId is free of charge. It's ...
0
votes
0
answers
54
views
How to avoid Atmospheric data in Google Places API Nearby Search
My requirement is to get all the place names under a specific place category from address_components within 500m of a location specified by latitude and longitude. I am using Google Places API (...
0
votes
0
answers
91
views
Google Places API always returns only 20 results, no nextPageToken for any query
I’m using Google Places API (v1 places:searchText) to search businesses.
For every query (e.g. “Namkeen Companies in Delhi”, “Hotels in India”), I only get 20 results.
The response never includes ...
0
votes
1
answer
51
views
Register Form not saving the latitude and longitude of the location
I am developing a website using Next.js and Supabase with the Google Places API to set a location. At the moment, when a new account is created the formatted address of the user is saved, but I'm not ...
0
votes
0
answers
72
views
google places api autocomplete is billing every request
I´m using the new places api with JS.
I have the following functions:
let request = {
input: '',
locationBias: { lat: -1, lng: -1 },
language: 'pt-BR',
get includedPrimaryTypes() {
...
2
votes
1
answer
474
views
Setting an initial address for Google Places PlaceAutocompleteElement
Since Google deprecated its old places autocomplete API in March 2025, we've been converting to the newer API.
We had a use case with a requirement to set the initial value of Google's "New" ...
0
votes
1
answer
156
views
Google Maps Places API - 50km radius restriction not being enforced?
Problem
According to the official Google Maps Places API documentation, the radius parameter is limited to 50,000 meters (50 km) for Autocomplete requests:
radius
The radius will automatically be ...
0
votes
0
answers
60
views
How can I restrict the Places API (New) AutocompletePlaces Java client to preferably return results located in Sweden?
If I look at the documentation of setRegionCode("se") I see this javadoc documentation:
To restrict results to a region, use region_code_restriction.
I would like to restrict the results ...
1
vote
0
answers
120
views
Angular: ERROR TypeError: Cannot read properties of null (reading 'writeValue') when using standalone component with ControlValueAccessor
I'm implementing a standalone component in Angular that wraps the gmpx-place-autocomplete web component from Google Maps Platform and implements the ControlValueAccessor interface to use it within a ...
16
votes
7
answers
5k
views
How to style Google Maps PlaceAutocompleteElement to match existing form inputs?
I'm migrating from the legacy Google Places Autocomplete to the new PlaceAutocompleteElement in my Rails application. The new component is working functionally, but I can't get it to match the styling ...
2
votes
0
answers
94
views
Google Places Autocomplete always returns Canadian addresses, even when setting a US location/bias
I’m using flutter_google_places_hoc081098 (or the official Android Places SDK) to autocomplete addresses in my Flutter app. Despite explicitly setting country filters or lat/lng bias for the United ...
0
votes
1
answer
107
views
Google Places API Reviews not returning the Reviews Replies
Using the Rest API below I am able to get the Google(Data) Reviews for a business. The interesting thing i only get the reviews none of the replies are coming through. Can someone tell me why this is ...
0
votes
0
answers
50
views
Issue with Google Places API Key – “REQUEST_DENIED” Error
I am experiencing an issue with my Google Places API key, which is returning the following error:
{
"error_message" : "This API project is not authorized to use this API.",
"...
1
vote
1
answer
65
views
How to get number of parks of a specific county?
I'm working on a project where I need to find the number of parks (or Google Maps-designated “park” place types) within a given county. I’ve seen similar questions asked years ago, but the solutions ...
2
votes
1
answer
191
views
This API project is not authorized to use this API. Places API error: ApiNotActivatedMapError. It's driving me mad
So I am trying to set up a autocomplete function on my application using Google Maps API.
I am using React.js, and in my index.html file I have put in the tags:
<script src="https://maps....
1
vote
1
answer
96
views
ReactNative-Place API-This IP, site or mobile application is not authorized to use this API key. Request received from IP address with empty referer
I am using Google Places Autocomplete React Native library to fetch the auto complete address.
Sample code base to use this library:
<GooglePlacesAutocomplete
placeholder="Search"
...
1
vote
1
answer
132
views
Google Places API - Places API - AutoComplete: Error 400: (Bad Request)
I am developing a node.js API with using express and mongodb, I am using google places api with autocomplete but getting status code 400 error.
Why google place api not giving me google suggestions as ...
1
vote
1
answer
138
views
Google Maps Places API error: ApiNotActivatedMapError even though API is enabled
I am trying to use Google Maps Places API in my web application, but I keep getting the following error:
Places API error: ApiNotActivatedMapError
This API project is not authorized to use this API.
...
1
vote
1
answer
111
views
How to include FieldMask in Nearby Search (New)?
I am referring to Nearby Search (New).
Every request requires a Field Mask set outside of the request proto.
Could you explain how do I set this header with searchNearby using v1.PlacesClient?
Is ...
-2
votes
2
answers
120
views
google_places_flutter : Unhandled Exception: Null check operator used on a null value [closed]
I've implemented the search feature on google map, for that used google_places_flutter library. below is the implemented code,
GooglePlaceAutoCompleteTextField(
textEditingController: ...
1
vote
0
answers
164
views
Flutter Google AutoComplete with Places API (NEW)
I'm trying to implement the Places API (New) in my flutter project but I don't seem to be able to show the places.
For my HTTP request:
class GooglePlacesService {
final String apiKey;
final ...
6
votes
2
answers
3k
views
Google Places API (New) Autocomplete not working
I am trying to setup a map using the Places Autocomplete service so I can type an address and plot it on a map. I am using the @googlemaps/js-api-loader npm package to load.
The version when using ...
3
votes
4
answers
1k
views
Why do I keep getting the ApiNotActivatedMapError when I've checked that my API key is working and able to call the necessary maps APIs?
I'm trying to create a React component for a text input field using the Google Maps API autocomplete feature. This is the code I have so far:
"use client"
import React, { useRef } ...
1
vote
1
answer
3k
views
How can I resolve the console warning "Google Maps JavaScript API has been loaded directly without loading=async."?
I’m trying to load the Google Maps JavaScript API in a Blazor application. However, the console keeps showing the warning:
Google Maps JavaScript API has been loaded directly without loading=async.
...
0
votes
0
answers
154
views
How to use Places API (new)
Can anyone help me solve this problem in my vue 3 application? I want to use the Places Api (new), but it's not working. I've asked chatgpt and everyone I know, I've tried to use v="beta" ...
0
votes
0
answers
261
views
How do I use the new Google Places API's autocomplete?
I am mantaining a website with a distance calculator, that has 2 text fields that use Google's Autocomplete to select two locations. I am trying to migrate it to the new Place API and to make it use ...
0
votes
1
answer
68
views
Unknown field for SearchTextRequest: fields
I get the error Unknown field for SearchTextRequest: included_fields when trying make a request with client library in Google Places API. There is instruction about how set fieldmask in http requests ...
0
votes
0
answers
68
views
Non-address places not returning from Google Places API
I'm encountering an issue where certain non-address places,(https://g.co/kgs/UrsBmeZ) such as this example, do not appear in the results returned by the Google Places API. However, these places are ...
0
votes
0
answers
35
views
Where can I obtain Level 10 administrative polygon boundary data?
I'm trying to find polygon boundary data for neighborhoods in the US. On google maps, all the neighborhoods have boundaries, however, I can't find how to access it on the google places api ...
1
vote
0
answers
49
views
Places API Address Autocomplete Error with setSuggestions()
I'm building a Gmail Add-on and trying to implement address autocomplete using the Places API. When typing in an address field, I'm getting this error:
The parameters (number[]) don't match the ...
0
votes
0
answers
45
views
Google Place Text Search - Invalid_Request
I am trying to call text search using GET, and using next page token for more than 20 results.
I have created 3 API calls, one for each batch of 20, with the last two containing pagetoken parameter, ...
1
vote
1
answer
322
views
Google Places API, get more than 20-60 results
The title already gives it away. I want to get a list of all restaurants in my area. Google Places limits "NearbySearch" requests to a maximum of 20 (60 with pagination).
What approach would ...
1
vote
1
answer
189
views
Google maps autocomplete - session token
I'm building a Flutter application where I'm using the Google Places Autocomplete API to let users select a location. For this, I make a direct HTTP request like this:
https://maps.googleapis.com/maps/...
1
vote
1
answer
244
views
Using Google API to return a URL for reviews
Problem: Same URL template, but different behaviours, for different PlaceId's.
I did some digging and found two templates for reviews:
A)
ReviewLink = $"https://search.google.com/local/...
0
votes
0
answers
32
views
Google places API works on usb debug Device running with expo start --android but not on ./gradlew built application
When I run a js fetch in my react-native project using this google place url;
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=test&&key=API_KEY_HERE
The fetch works and I ...
0
votes
0
answers
133
views
How to get the zip code using the new Google map Places API Autocomplete (New)?
I'm trying to get a list of addresses from USA with autocomplete search with the help of the new Google maps places api (Autocomplete endpoint).
This is what I tried to do to get it but it's not ...
1
vote
1
answer
182
views
Weird response from google maps javascript places API searchByText
I'm using the Maps JavaScript API Text Search (New) searchByText() function to get a list of places in a web app. It's supposed to return google.maps.places.Place[] according to the @types/google.maps ...
1
vote
1
answer
57
views
Need help dealing with certain address scenarios in large cities and Google Places API
I have an issue with the London area using Google Places API and the endpoint for autocomplete. Why are we using autocomplete? Because our input is at time ambiguous. The background story is that we ...
0
votes
0
answers
86
views
How to get more than 5 reviews returned from Google Places API (New)?
I have not found any modern solution or answer to this question: how to fetch more than 5 reviews from business page with Google Places API (new). When I asked this from some AI's, they said there is ...
12
votes
2
answers
1k
views
GooglePlaces SDK Breaks XCode Preview
I have a project connected to the FirebaseSDK which runs perfectly fine in Build, Simulator, Preview, and when Run on my iPhone 16 Pro.
However, I need to use the GoogleMaps SDK. When I install the ...
0
votes
1
answer
119
views
OAUTH for Google Places API (New): Avoid having to grant Android automation tool Tasker access to my Google account after every restart
I am using the Android automation app Tasker (joaoapps.com) to control different APIs (Spotify, Poweramp, Tomorrow.io weather) for an Android device in my car.
I also use Tasker to control the "...
3
votes
1
answer
2k
views
react-native google places autocomplete not working for expo
some months ago I worked with react-native-google-places-autocomplete and I did not encounter any issue but now I am trying to add some updates to the project and discover that it's no longer working ...
0
votes
0
answers
49
views
Google Map API (Places API) different result?
My problem is I'm trying to make a searching service.
So, I'm trying to find some market like "공주 행복자전거" but, I can't find by places API,
and I tried Google Map service (not API) and I find ...
0
votes
1
answer
85
views
How to combine business name and address to find the point of interest using the Google Places API Text Search?
I am building an application that is using Apple's MapKit framework as well as Google's Places API. The reason is mainly saving costs.
My current situation is, that I have an MKMapItem and want to ...
0
votes
0
answers
194
views
The new Google Places Swift SDK for iOS only results in Internal Error
I am building a new app and am trying to use the new Google Places Swift SDK for iOS. I am following these guides provided by Google:
Google Setup Guide and Google Text Search Guide
Unfortunately, I ...