google-places-api

Results are coming one over another in android PlaceAutocompleteFragment Search widget Provided by Google Places

扶醉桌前 提交于 2019-12-11 06:48:46
问题 I have used PlaceAutocompleteFragment provided by Google Places Api to integrate Autocomplete search in my Android Application. It is working fine but the problem is sometime the results in autocomplete list is coming one over another. I am not able to think about the issue. I am adding the screenshot and code for the same. Screenshot of the problem code - Layout code - <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas

Google Places API mass download?

本小妞迷上赌 提交于 2019-12-11 06:46:58
问题 I'm developing an app where I need to display nearby places. I'm currently using the Google Places API but it's kinda slow. I was wondering if I can store the places data for a city using the Places API. If not, are there any other means I can get nearby place data and store them? 回答1: According to the Terms of Service, no. 10.1.3 Restrictions against Copying or Data Export. (b) No Pre-Fetching, Caching, or Storage of Content. You must not pre-fetch, cache, or store any Content, except that

Google Places Picker not working anymore, says: The Places API for iOS is not enabled. See the developer’s guide

℡╲_俬逩灬. 提交于 2019-12-11 06:08:21
问题 I am getting the error: Error: The operation couldn’t be completed. The Places API for iOS is not enabled. See the developer's guide (https://developers.google.com/places/ios-api/start) for how to enable the Google Places API for iOS. Google Account for map services is configured properly, billings etc. already done. Code used to present: let autocompleteController = GMSAutocompleteViewController() autocompleteController.delegate = self present(autocompleteController, animated: true,

Google Places iOS: How to provide context to API for relevant local results

∥☆過路亽.° 提交于 2019-12-11 05:57:52
问题 Using Google Places API for iOS, I am using the Place AutoComplete feature. When I start typing a place name for example 'Starbucks' it gives me starbucks location in several countries but not my local starbucks. How do I pass the current location to the API so the search results start from closest to my location? 回答1: You can pass a GMSCoordinateBounds to the which is "object biasing the results to a specific area specified by latitude and longitude bounds" . They have an example on their

Google places retrieve photo gets 301 redirect when trying to display

99封情书 提交于 2019-12-11 05:55:51
问题 This is frustrating the hell out of me! I have retrieved a json from google places search api. I have retrieved the photo_reference and used it to get the photo like so echo '<img src="https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photoreference='.$photo_reference.'&key='.$apikey.'"/>'; I get nothing visible in the browser. When i view source i have the html for the images there. If i put the href directly into the url bar it shows me the picture that in the documentation

Google place Api PlaceDetails

老子叫甜甜 提交于 2019-12-11 05:53:05
问题 Hi the below code gives the place search , but it is showing only names i want the complete details of the places in the infobox..the below code isprovided by DR.Molle http://jsfiddle.net/doktormolle/C5ZtK/ below is the code for retrieving the placedetails but not able to make it working var request = { reference: place.reference }; service.getDetails(request, function(details, status) { google.maps.event.addListener(marker, 'click', function() { infowindow.setContent(details.name + "<br />"

Import com.google.api.client.* cannot be resolved

女生的网名这么多〃 提交于 2019-12-11 04:17:37
问题 I am trying to run this implementation of Google Place I downloaded from here link. As you can see in the following image (not in its native size but i think it works nonetheless), I am getting an error (cannot be resolved) all across my imports. You can also tell from the image that I have the Google APIs Client Library for Java in place as well as the Maven plugin since the code author mentioned having used the library in this project. I also have added the highlighted dependency to pom.xml

Google Places REQUEST_DENIED from Server Request - Nothing works

浪尽此生 提交于 2019-12-11 03:58:15
问题 After hours of searching and trying every possible solution found on the web, I cannot try anything else for my problem, so I really need help: I want to implement a simple autocomplete text box with geocode results, so I call AJAX requests while the user types in the text box I have enabled Google Maps and Google Places from the Google APIs Console I have created a Key for server apps with my server's IP I have a PHP file (called through AJAX) running on the server which sends the request to

Change title language PlacePicker

我的梦境 提交于 2019-12-11 03:37:51
问题 I want to change the language of the title as highlighted in the image below How can I achieve this? 回答1: Just like many other Google's apps, these strings are automaticaly translated to the user language. I'm currently developing an App with PlacePicker, as you can see on the printscreen below (just took it) it's translated to my language. So i tried to change my phone's language to English and it was translated, which means you don't have to worry about the language. 来源: https:/

Google geocode API can't find address returned by the place API

∥☆過路亽.° 提交于 2019-12-11 03:25:40
问题 I can't get google's geocode api to recognize the address: The Squaire 12 Am Flughafen 60549 Frankfurt am Main Germany The Squaire is a building at the airport in Frankfurt. It doesn't appear to have a normal street address, but a number of businesses in The Squaire have addresses like "The Squaire NUMBER". For example: ALEX: The Squaire 17, 60549 Frankfurt am Main, Germany Bilfinger Facility Services GmbH: THE SQUAIRE 13, Am Flughafen, 60549 Frankfurt am Main, Germany But no matter what I do