google-places

google places library without map

早过忘川 提交于 2019-12-17 10:31:29
问题 I am trying to use the google places library for a nearby search request: https://developers.google.com/maps/documentation/javascript/places#place_search_requests i just want to pull the json response and put it in a html list, i do now want to show results on a map or something else. I do not want to use map at all. But in documentation it states that there has to be a map service = new google.maps.places.PlacesService(**map**); in order to pass it as an argument in the PlacesService

Google place api is not supporting multiple types

瘦欲@ 提交于 2019-12-14 03:06:23
问题 when i provide the url given below , i am getting the proper rsults but String baseUrl = "https://maps.googleapis.com/maps/api/place/search/xml?location="; String last="&radius=20000&types=school&sensor=false&key="; URL = baseUrl + latitude + "," + longitude + last + API_KEY ; when i am trying to use multiple types like : school | university it showing forced closed....EX String baseUrl = "https://maps.googleapis.com/maps/api/place/search/xml?location="; String last="&radius=20000&types

Google Places API: OVER_QUERY_LIMIT

左心房为你撑大大i 提交于 2019-12-13 09:14:31
问题 I am getting an error notifying me of exceeding the API Quota. However, I have a quota of 150,000 requests and have only used up 12,000 of them. What is causing this error? example of code: from googleplaces import GooglePlaces api_key = '' google_places = GooglePlaces(api_key) query_result = google_places.nearby_search(location="Vancouver, Canada", keyword="Subway") for place in query_result.places: print(place.name) Error Message: googleplaces.GooglePlacesError: Request to URL https://maps

Place Autocomplete Android | How to get the Photo of location?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-12 06:35:45
问题 I have implemented Place Autocomplete but it doesn't providing me the Photos array. Please help me out. Suggestions really appreciated. Many Thanks in advance. 回答1: Autocomplete responses don't include photos, just a handful of key information like name and Place ID (see the docs for the full set of fields). To get more detailed information like photos you need to make a Place Details Request using the Place ID from the Autocomplete response. 来源: https://stackoverflow.com/questions/34174683

Google maps global search

一笑奈何 提交于 2019-12-12 00:44:00
问题 I am trying to use google places textSearch to discover all stores of certain brand (lets say Levi's) so I will iterate through the results by using next_page_token, but I seem to hit the issue of the max 60 results that are returned. Can this results be lifted somehow or does anyone know of another service that can provide this kind of results ? 回答1: There is sadly no way around the 60-entry restriction other than clever polling on textsearch, and the results cannot be sorted. Your best

I get error 13 in Place Auto complete Fragment

可紊 提交于 2019-12-11 15:32:48
问题 I am trying to use PlaceAutocompleteFragment but whenever I click on the search bar it just closes it down and goes to onError and shows this as the failure message: error : 13 error : Status{statusCode=ERROR, resolution=null} I am posting the whole Logcat: 11-25 03:43:50.569 2321-2321/com.example.admin.nearbyplaces D/AppTracker: App Event: stop 11-25 03:43:50.687 2321-2321/com.example.admin.nearbyplaces I/zzbz: Making Creator dynamically 11-25 03:43:50.699 2321-2321/com.example.admin

Android Google Place API Error Status{statusCode=PLACES_API_ACCESS_NOT_CONFIGURED, resolution=null}

爱⌒轻易说出口 提交于 2019-12-11 09:37:56
问题 Hello I am facing the Google Place API Error Status{statusCode=PLACES_API_ACCESS_NOT_CONFIGURED, resolution=null} According to Google new policy "Deprecation notice: Google Play Services version of the Places SDK for Android" Notice: The Google Play Services version of the Places SDK for Android (in Google Play Services 16.0.0) is deprecated as of January 29, 2019, and will be turned off on July 29, 2019. A new version of the Places SDK for Android is now available. We recommend updating to

google object undefined using angular2-google-maps and google places searchbar

一个人想着一个人 提交于 2019-12-11 08:28:48
问题 I am currently working on an angular2 application which uses Google Maps. I have embedded and instance of Google Maps into the app using the excellent sebm angular2-google-maps module. The problem I now have is that I would like to use the google place autocomplete search bar. I have imported the module into my map module like this: import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { AgmCoreModule } from 'angular2-google-maps/core'; import {

GooglePlacesSDK Returning Error 500

倖福魔咒の 提交于 2019-12-11 07:34:27
问题 I am getting an error from google places: { "error": { "errors": [{ "domain": "global", "reason": "backendError", "message": "Backend Error" }], "code": 500, "message": "Backend Error" } } I am using the Google Places API for iOS version 2.0.0 . The error looks strange. Is there anyone who experienced that and help me getting rid of that error? 来源: https://stackoverflow.com/questions/44118058/googleplacessdk-returning-error-500

Can Google Places API pull specific types of places, like schools, without a location?

眉间皱痕 提交于 2019-12-11 07:15:30
问题 I want to have users able to search their school and Google Places API return a list of results (School Names along with addresses). eg. User enters "Springfield Elementary" and the Places API gives the top results for that. Is that possible at all? And also without knowing the user's location? 回答1: You can have a look at the Places API text search. For example, the following request can search places that contain "Springfield Elementary" and have a type "school": https://maps.googleapis.com