google-places-api

Google Places API : Add Place Privacy

巧了我就是萌 提交于 2019-12-11 12:07:45
问题 With Places API, it provides the ability to add new places. How much are we sure that Google does not use these custom added places for their own marketing and research purposes. What if you want to keep these new places private to your applications. The Add Place section does not talk anything about this. Does anybody have any information around Google privacy policy around adding new places? 回答1: As per the documentation: By adding a place, you can supplement the data in the Google Maps

Implementing Google Places API

怎甘沉沦 提交于 2019-12-11 11:41:49
问题 I have been trying for the last couple days to find a simple tutorial on this but it seems like there is no such thing as simple with google's API. Here is what I know so far step 1 send http message using a url that will contain long and lat and API_Key step 2 get result and prasae it step 3 use the data to get what I need. I just can't seem to figure it out. If you could provide me an example or just anything on how to implement this API it would be great! My java file package com.example

Google Places returns 60 items with 2s interval

为君一笑 提交于 2019-12-11 11:35:21
问题 I added a pagination, but now it shows 20 places then waits 2s, shows another 20 places and waits again couple sec. I read that Google adds a delay in between nextPage calls. I wounder if there is a way to remove that delay and show 60 places all in once this.service.search(request, function(results, status, pagination) { self.addPlaces(results, status, pagination); if (pagination.hasNextPage) { // sleep:0; this doesn't effect anything pagination.nextPage(); } }); 回答1: There is no way to

Google Place API Reviews [closed]

随声附和 提交于 2019-12-11 10:59:47
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I am working on swift app,In this I need to show reviews as shown on google, Is it possible to get more than 5 reviews from google place api. I used this api to get place details https://maps.googleapis.com/maps/api/place/details/json?placeid="XXX"&key="XXX" Thanks 回答1: Being able

Google Places Api Not working in Android app

戏子无情 提交于 2019-12-11 10:19:14
问题 I was using android's autocompelete for fetching places but now I have just create new play console app for that I didn't get the option for Android Sdk for places rather there is option for places Api only but I am using same code as earlier Places Autocomplete and I am getting and error: Error getting place predictions: Status{statusCode=PLACES_API_ACCESS_NOT_CONFIGURED, resolution=null} I am using following gradle : implementation 'com.google.android.gms:play-services-plus:16.0.0'

Searching for locations with Google Maps API for Android

核能气质少年 提交于 2019-12-11 10:07:57
问题 I am making an Android app that stores 3 million city markers in MongoDB. Depending on the current google map view, I make a geospatial box query to Mongo to get all markers within the current view on the screen. If the user wants to change the view, he/she can also perform a text search for a city and this will query three name fields across the markers collection and show the results. I currently use Mongo for this but due to naming conventions it is not working well at all (case

Google places api - airbnb

不羁岁月 提交于 2019-12-11 09:54:45
问题 I would like to use the api like airbnb. I have search and read all posts/stackoveflow/google group that i can. I couldn't find the answer In general i would like to do the following: Would like the user to have the ability to insert advertise with full address I would like to search in my db by city/street/country and radius according to users ads Does i have to use api key? I have found autocomplete example without the api key and i works fine Hope it makes sense.. I have looked on this

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

i want to display google place picker for restaurants using GMSPlacePickerViewController, below are the code i am trying from developers.google.com

一个人想着一个人 提交于 2019-12-11 09:07:14
问题 i want to achieve above screenshot output in one of my app below is the sample code i am looking at in developers website. https://developers.google.com/places/ios-api/placepicker GMSPlacePickerConfig *config = [[GMSPlacePickerConfig alloc] initWithViewport:nil]; GMSPlacePickerViewController *placePicker = [[GMSPlacePickerViewController alloc] initWithConfig:config]; placePicker.delegate = self; [self presentViewController:placePicker animated:YES completion:nil]; GMSPlacePickerViewController