Questions tagged [google-places-api]
The Google Places API is a service that returns information about places using HTTP requests. Places are defined within this API as establishments, geographic locations, or prominent points of interest.
4,978
questions
-1
votes
0
answers
20
views
Try to search Ahmednagar location using SearchMapPlaceWidget it shows Pune location
All location search working fine but whenever try to search Ahmednagar location it shows correctly in search (Ahmednagar,Maharashtra, India) but when I click on that location it get Pune location for ...
0
votes
1
answer
8
views
findplacefromtext returns ZERO_RESULTS
I am having trouble finding a specific place using the findplacefromtext. This is the place I am trying to look up via API:
UnderDog Property Services https://goo.gl/maps/WFPU2gca2LbVCxFeA
However, no ...
0
votes
0
answers
38
views
Error implement Google Maps script with places library on Ionic
Implementing the Google Places Autocomplete on my Ionic project, i get the next messages in console:
Warrent -> Google Maps JavaScript API has been loaded directly without a callback. This is not ...
-1
votes
0
answers
24
views
Website using Google Places API not running after CSS, HTML, and JavaScript changes
Self-taught beginner programmer here, trying to build a website with CSS, HTML, and JavaScript. I have been iterating and suddenly made a change that stopped the site from running.
My code is below. I ...
-2
votes
0
answers
23
views
API to show places near me [closed]
I want an API to show bars and clubs near the user, I've tried foursquare bit it doesn't have all the clubs n bars in the UK, specifically Manchester, and yelp was awful top try and use. I've tried ...
1
vote
1
answer
39
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 ...
1
vote
1
answer
23
views
Google Maps Autocomplete Place returns incorrect result
We are using the Google Maps Autocomplete functionality on our web site and I have found an instance where the address entered into the entry field is not reflected upon selection in the Place object. ...
0
votes
0
answers
14
views
Can I get place details for an entire governorate at once as a JSON file or dataset & how much it'd cost me?
Can I get place details for an entire governorate at once as a JSON file or dataset from Google Maps official API, how much it'd cost me?
0
votes
2
answers
43
views
Does the AutocompleteFragment provided by the Places API library has a built-in limitation of displaying fixed number of results?
I am currently using the Place API library to search for nearby shores based on the user's current location. However, I have encountered a limitation with the AutocompleteFragment provided by the ...
0
votes
0
answers
11
views
use UUID for SessionToken when using Google Place SDK for Android
In my Android project I am using Google Place SDK findAutocompletePredictions and fetchPlace methods to get address predictions and then place details.
As per official documentation a session token ...
0
votes
0
answers
38
views
Infowindow content updates correctly when pin is clicked, but stays above the same pin regardless of what pin is clicked
Alright, here we go with a minimal reproducible example (I believe).
So, to start with, I read a csv file with 3 columns: Name, placeID, type.
The types have been manually defined, and a dropdown in ...
-1
votes
0
answers
27
views
Cannot load two Google Maps API libraries?
I am trying to load the places and geometry libraries from my index.html file with the following code:
<script src="https://maps.googleapis.com/maps/api/js?key=MY_API_KEY&libraries=places,...
1
vote
1
answer
74
views
Using Python and Google Places API, how can I get the Place_id of a specific place at a given address?
I'd like to use Python and the Google Places API to get review data for a gas station located at 1101 E FLORENCE AVE, LOS ANGELES, CALIFORNIA 90001. When I search using the API, I get a "building&...
-2
votes
0
answers
37
views
The getPlace() method of the Google Autocomplete object is returning undefined when it is called on the input field
When I console.log in place_changed event it triggers but the problem is that autocomplete.getPlace() function return undefined. I want data when user search on input field. This code works fine on ...
0
votes
0
answers
21
views
The daily quota requested by Google Place API is 1 and cannot be modified. How to increase the quota
The daily quota requested by Google Place API is 1 and cannot be modified. How to increase the quota
I tried to delete the project and rebind the settlement method, but there was no quota limit, but a ...
0
votes
1
answer
28
views
How to prevent Google Places API from producing results from a specific country
I have gone through the entire documentation(https://developers.google.com/maps/documentation/javascript/reference/places-service#LocationRestriction) but cannot find a solution
I know how I can limit ...
0
votes
1
answer
22
views
which google map api is used to add my business place marker to google map programmatically from app
We developed app for warehouse listing and management. We want to add business place marker / Warehouse to google map programmatically through api from our android application, so that any person can ...
0
votes
1
answer
23
views
Google Places Autocomplete Elements Show Up Behind Of Sweet Alert
I've been trying to use autocomplete api on sweet alert but couldn't figure out the problem i've faced. Already gave 'z-index: 10000 !important;' style to my input a.k.a search box. screenshot
The ...
3
votes
1
answer
73
views
Remove google maps and keep google places package ios
I have my SwiftUI app where I am only using import GooglePlaces.
To use Google Places I had to install the package from: https://github.com/YAtechnologies/GoogleMaps-SP
The problem is that when I am ...
0
votes
0
answers
10
views
Google Place API cities list with proper names/nomenclature
I am trying to crate an auto complete feature which shows list of cities in US as the user types in the data. They can then select multiple locations as they see fit.
I got the google place API and am ...
0
votes
1
answer
34
views
How to disable Atmosphere Data on Google AutocompleteService
Others have asked similar questions
However the difference is that they were using google.maps.places.Autocomplete which is the widget that builds an auto complete UI for you. As others have answered ...
0
votes
1
answer
32
views
Does not recognize AutocompleteSupportFragment from places library
Designer tells me unknown fragment, but it seems like im importing the library correctly as import com.google.android.libraries.places.widget.AutocompleteSupportFragment; does not generate error and ...
0
votes
0
answers
19
views
cURL SSL certificate problem when making requests to Google Places API
I'm currently working on a PHP project that involves making requests to the Google Places API using cURL. However, I'm running into an issue on my WAMP server where I get an "SSL certificate ...
0
votes
1
answer
46
views
Google Places API returns 'ZERO_RESULTS' but Google Maps has results
I am trying to make a simple phone-number checker using Python and Google Places API.
Search phone numbers and see if each number is registered on Google Maps, that's all.
But it seems Places API ...
0
votes
0
answers
19
views
Google web service null safety issue
I'm trying to look for the nearest hospitals on button press in flutter but since the google web service doesn't support it. I couldn't figure a solution out. any help will be appreciated.
I asked ...
0
votes
0
answers
34
views
How can I get back the civic address under Google location names?
I am using GooglePlaces view controller to search for addresses.
For some reason, I don't see the address under the location name anymore. It becomes hard to know the location country.
Using version ...
-2
votes
1
answer
48
views
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 ...
0
votes
0
answers
26
views
JSON.stringify returns empty- Google places API
I'm making a simple web dashboard where you can query different keywords for places, add them to a list, and download them as a json using the Google places API. I'm hitting a snag at the last step ...
0
votes
0
answers
19
views
How to limit search results based on manual filters?
Is there any way to only show place results based on a pre-defined (manual) list of place ID's? That is, I don't only want to limit results to a specific country, city or type. Let's say for example I ...
1
vote
1
answer
20
views
Use Google Places API to only retrieve a place type that is shown on Places webpage
I am trying to get a list of tobacco shops in Los Angeles but want to be very specific on the type. On the Places Webpage underneath the name of the place there is the reviews it has and the type of ...
0
votes
1
answer
35
views
Does Microsoft has an API like Google Places API?
This image is from Bing Maps and my goal is to get the information in red (wheelchair access) through the api.
Does anyone know if microsoft has any API that returns this data?
Thank you!
I tried to ...
0
votes
0
answers
156
views
Can I use the vue-google-autocomplete package with Vue 3?
I used the vue-google-autocomplete package (https://github.com/olefirenko/vue-google-autocomplete) in a Laravel 9 Vue 2 project. Will this work in Laravel 10 Vue 3 project. The reason I am asking this ...
0
votes
0
answers
26
views
CORS error in a request to a Google Cloud Place API [duplicate]
I have a React.js project in which I wanted to implement an address search and a photo search, I used the Places API from Google cloud to do such a search, I did all the procedures of creating a ...
-1
votes
1
answer
88
views
What is the best way to get all of the mechanics in the UK using Google Places API?
I have tried to do this by specifying a location with a large radius that covers a lot of the UK and requesting all the mechanics in that range, but I only got 60 results which is of course much less ...
0
votes
0
answers
59
views
google places autcomplete api react-native not showing dropdown after typing with custom search
<TextInput
textRef={textRef}
style={{ flex: 1, marginLeft: 10, color: "black" }}
placeholder="Search"
placeholderTextColor="gray"
onChangeText={(...
0
votes
0
answers
60
views
Google Places Autocomplete "Can't load search results" and Maps API blank for Android app
I'm building a group project where I need to use the Google Maps and Places APIs in an Android app. A couple other of my group members have the API working in their environment and even shared their ...
-1
votes
1
answer
72
views
Trying to get business name based on address using find_place
This is just an example of one of locations I'm having trouble with. I'm taking the place_id from the return to try and get more fields, but When you actually put in the place_id that it returns it ...
1
vote
1
answer
35
views
Restrict bounds in use-places-autocomplete
I am trying to restrict the bounds in use-places-autocomplete as below
requestOptions: {
types: ["geocode"],
fields: [
"name",
"...
0
votes
0
answers
35
views
const variable doesnt update on time when passing to another function
I am trying to use the current location coords to make an api request. However, the api uses the default value of latitude and longitude instead of the updated values, thus resulting in a wrong ...
0
votes
0
answers
51
views
Google Place Api wiht Unity
I recently saw this code here https://gamedev.stackexchange.com/a/148249/170781 and I don't know to create RectTransform resultsParent and RectTransform prefab component in Unity. Can someone teach me ...
0
votes
1
answer
156
views
VueJS + Quasar Framework + Google Places Autocomplete = InvalidValueError: not an instance of HTMLInputElement
trying to implement the google autocomplete to my address form. I'm using the Quasar framework, can't find the sulution for: InvalidValueError: not an instance of HTMLInputElement
Below my address ...
0
votes
0
answers
48
views
GooglePlacesAutocomplete does not register suggestion touches on an Android BottomSheet in React Native
I am trying to implement a feature in my app that allows users to search an address and select a suggestion. I used GooglePlacesAutocomplete to achieve this result. I have the code for autocomplete on ...
0
votes
0
answers
100
views
How to get "cuisine" (food type) for a restaurant using Google Places API and/or Google Business API
I am getting some Restaurant information using the nearBy function of Google Places. It returns the Restaurant... rating... address, etc. But I can't find the "cuisine" of that restaurant in ...
0
votes
0
answers
19
views
Can I use Google API to check if a position (or placeId) is in a big city (or near a big city passing a distance)
I need to determine if a Place Id is inside a "big" city... can I use the Google Places API for this (even with a combination of requests?)
I know, first problem is determining when a city ...
1
vote
0
answers
33
views
how to make the google places suggestion list disappear
When i select a place from google map place autocomplete, the suggestion list does not disappear
class FormDetail2 extends StatefulWidget {
const FormDetail2(
{Key? key, required this.onNext2, ...
0
votes
0
answers
47
views
Exception: Service invoked too many times for one day: premium urlfetch. - Google Sheets Script / Maps API
Beginner coder here so be gentle!
I have managed to create a script that searches a customer list for latidtude longitude address and company name (so I can confirm that the search result is the same ...
0
votes
0
answers
68
views
How can I fix 'Invalid key' error & retrieve JSON data of specific places from Maps API?
So I am trying to use the Places API for an android app. I've used the correct URL to query for the JSON results of places however when I run the app I receive this error in my logcat: data: { "...
0
votes
1
answer
118
views
Google My Business API server to server without Workspace/G-Suite
i would like to achieve that the website of my PHP website can fetch business location data (name, address, contact, openings, ...) from the Google APIs, so that i do not have to insert the ...
0
votes
1
answer
86
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&...