google-places-api

Google Places Library vs Google Places API

徘徊边缘 提交于 2019-12-10 14:28:56
问题 What is the different between the Google Places Library and the Google Places API? I see that with the API, the search limit per 24 hour period is 100,000 searches where the Library the limit is per user and not per API key. Is it possible to use the places library within an android application? 回答1: The Google Places Library is part of the Google Maps Javascript API v3, meant to be used in applications using that. The Google Places API is a web service. 回答2: i recently learn't that you would

Google Place Autocomplete in Xamarin.Forms

半城伤御伤魂 提交于 2019-12-10 13:54:21
问题 Has anyone integrated Google Place Autocomplete using Xamarin.Forms? I am to use it on a map for location suggestions. I've only seen resources for Xamarin.Android and Xamarin.iOS but on the part of implementing the AutoCompleteView, that I also don't know. I would be very thankful if someone could guide me with this. Thank you! 回答1: Place autocomplete can be implemented by using the Google Place API, whenever user enter a character, matching location with the entered character will be

Google Places Api iOS Daily Limit for Unauthenticated Use Exceeded error

守給你的承諾、 提交于 2019-12-10 13:48:41
问题 I am trying to use google places api for iOS. I created an api key and then I am trying to call a few methods. I have entered the api key in the app but when I make the call I get an this error lookup place id query error: The operation couldn’t be completed. (com.google.places.server.ErrorDomain error -1.) Error Domain=com.google.places.server.ErrorDomain Code=-1 "(null)" UserInfo={NSUnderlyingError=0x7f8bf861ca80 {Error Domain=com.google.GTLJSONRPCErrorDomain Code=403 "(Daily Limit for

Android Place Picker does not return to activity

。_饼干妹妹 提交于 2019-12-10 11:29:32
问题 I have implemented the PlacePicker in my app. I have a custom dialog with a pager in it (like 2 tabs). The second pager item has an EditText component. On touch of that, I open the placepicker. The issue is that pressing back on the PlacePicker , shuts the app instead of going back to the activity from where it started. This is the code from where the PlacePicker starts public void showPlacePicker() { try { PlacePicker.IntentBuilder builder = new PlacePicker.IntentBuilder();

Angular - Google places directive isn't being triggered when the input value changes

喜夏-厌秋 提交于 2019-12-10 11:24:57
问题 I'm trying to write a google place directive since all the finished ones doesn't seem to work very well or have a code base that is just horrendous. So here is my attempt which is clean but it isn't activating when the user types something: @Directive({ selector: '[googlePlace]' }) export class GoogleplaceDirective implements OnInit { @Output() placeChange: EventEmitter<any> = new EventEmitter<any>(); public autocomplete: any; constructor(private elementRef: ElementRef) {} ngOnInit() { this

google places search api and “Listings by” Text

冷暖自知 提交于 2019-12-10 10:51:20
问题 i have a problem with the Google Map and the places search API. Everytime i run a new search Google adds the Text "Listings by blabla" on the map. If i run multiple Searches, the API adds multiple Elements with this texts on the map. Look at the lower right corner: http://s14.directupload.net/images/141016/raq2cfah.jpg How can i remove this layer, so that only one of this elements is on the map? 回答1: The issue is because the Text "Listing by bla bla" is added every time you create a new

Google Places Autocomplete (included with Places Details) SKU is not getting triggered while using session tokens

扶醉桌前 提交于 2019-12-10 10:46:22
问题 I am making requests to the Google places autocomplete and details api. For both I am using session tokens to use the autocomplete api charge free, but I don't see the Autocomplete (included with Places Details) SKU in the Google report. I started using it a week ago and all I see is the SKU: Autocomplete without Places Details – Per Session . In my code I am generating a new version 4 UUID compliant session token after a request to the details api is made. I am following the guidelines in

Android Google Place Picker working in Signed APK but not working in Live app

筅森魡賤 提交于 2019-12-10 09:45:55
问题 I have an application in which i have used Google Place Picker. There is very strange issue i am facing. When i am creating signed APK with my app's keystore, Place Picker is working very well. That same APK I have uploaded over Google PlayStore. When I come to open that Place Picker it automatically closed down. I already read a lots of comments online and also here in SO. But I can not determine why its working well in signed APK and the same APK which is over Google PlayStore is not

How to change placeholder text in an autocomplete activity of android google place?

。_饼干妹妹 提交于 2019-12-10 09:36:26
问题 I am using Option 2: Use an intent to launch the autocomplete activity Is it possible to change the "search" place holder text to something such as "enter your city". I found a solution but for javascript, suppose support android as well. It seems it could be done with a PlaceAutocompleteFragment, but I am using my own EditText to launch autocomplete by using an intent, so it is not helpful. 回答1: No there is no way and if you want than you have to create your own. But as u use the EditText

How can I search places with specific types using Google Places API?

此生再无相见时 提交于 2019-12-10 04:06:28
问题 I am using google place api to search specific types like(gas_station,cafes,shopping_malls etc...) here is link i am using https://maps.googleapis.com/maps/api/place/search/json?location=41.104805,29.024291&radius=50000&types=gas_station&sensor=false&key=AIzaSyAhVKOOLN1lx6iKKnbXMT82W1cKG7O8cDY so here i need to search all gas_stations nearby my location so here i get " results" : [], "status" : "ZERO_RESULTS" But in my location some gas_stations are there(i search google map) so how can i get