Questions tagged [google-places]

An API providing detailed information about 100 million places, using the database behind Google Maps and Google+.

830 questions
6
votes
4 answers

Embedded Google Map can't get current location in WebView

I followed this tutorial: http://android-er.blogspot.com/2013/03/embed-google-map-in-webview.html I'm trying to just use the Google Map in the WebView, but it can't get my current location. I've enabled JavaScript on the WebView. What else do I have…
6
votes
1 answer

google map autocomplete select first entry in list by default

I am using a gmap autocomplete and sometimes the user doesn't hit any choice in the suggestion list. For example he types "Paris" in the input field and believes the search will be performed with Paris, however has the 'place_changed' of the gmap…
queto putito
  • 253
  • 3
  • 15
6
votes
2 answers

Google places API - How to get regions of a country?

I've looked again and again on the site for this simple question and didn't find an answer I think it is very generic need Let's say that you have two drop down lists One you want to populate with a list of countries, and once you've selected one -…
6
votes
1 answer

How to get all the department stores present in a city in android using google places?

Hi I have developed an app which uses google-places API to get the list of nearby department stores. This works perfectly and I am using this tutorial to get the places, but now I need to add one more functionality to this ie; is it possible to get…
5
votes
1 answer

How can I access events data for a place in google maps?

I wanted to use Google Places API to get nearby places (music venues, pubs, theaters, etc.) in given city, then look for events in these places. And if you look at some places on google maps, you can see that there is a section 'Upcoming Events', so…
Maciej B. Nowak
  • 1,180
  • 7
  • 19
5
votes
3 answers

migrating to Places API, cannot resolve GEO_DATA_API GeoDataApi

I'm going through the process of migrating from depricated Places SDK to the Places API as described here, using the compatibility library. Everything had been working fine prior to attempting the migration. I've 1) Updated my dependencies 2)…
5
votes
2 answers

GMSAutocompleteViewController showing only 5 results

I integrated GMSAutocompleteViewController in my app. let autocompleteController = GMSAutocompleteViewController() autocompleteController.delegate = self let filter = GMSAutocompleteFilter() filter.type =…
Nitish
  • 13,845
  • 28
  • 135
  • 263
5
votes
1 answer

How can I search Google Maps API and get multiple places?

I've been able to make requests to the Places API from Google Maps, but I always get one result. For example, searching something like "The White House", or an actual street address, get one single…
Jonathan Tuzman
  • 11,568
  • 18
  • 69
  • 129
5
votes
2 answers

New Google Places Autocomplete crashes on Click

I used new dependency of Google places. And app crashes when click on the Autocomplete View. Error is as follows., java.lang.NullPointerException: Place Fields must be set. at…
5
votes
3 answers

NotLoadingAPIFromGoogleMapsError even when loading correct URL

I am getting the NotLoadingAPIFromGoogleMapsError error for some users even if the correct URL is being used: (pug syntax): script(type='text/javascript' src='https://maps.googleapis.com/maps/api/js?key=MY_KEY&libraries=places') It seems to be…
itamar
  • 3,837
  • 5
  • 35
  • 60
5
votes
0 answers

Didn't find class "android.support.v7.app.AppCompatViewInflater" in place picker project

I am creating a demo project for place Picker. But when I click on button to pick location it's giving me AppCompatViewInflater ClassNotFoundException exception and google map is closed immediately. Here is my logcat error- Caused by:…
Ana
  • 174
  • 2
  • 8
5
votes
0 answers

Is there a free places auto complete api or library

I have been trying to build a weather application for Android while building the application I wanted to add an option to select a city by name and not only by coordinates. I wanted to add an auto-complete section that allows the user to enter a…
Gal
  • 422
  • 5
  • 21
5
votes
1 answer

New type for the deprecated grocery_or_supermarket type in google-places-API

Looks like google has deprecated a bunch of place types from their places API: https://developers.google.com/places/web-service/supported_types "The following types are deprecated, and will continue to be supported until February 16, 2017:…
Amit Bhosle
  • 601
  • 5
  • 6
5
votes
2 answers

PlaceAutocompleteFragment: automatically open SearchView

I want to automatically click on a fragment as soon as the activity is done loading. The fragment definition is:
5
votes
5 answers

Error "Status{statusCode=PLACES_API_INVALID_APP, resolution=null}" when using google places api in android

I am using google maps in my android app and map successfully loaded in my app. I initialize google map in my app with this code : mGoogleApiClient = new GoogleApiClient.Builder(this) .addConnectionCallbacks(this) …
Jafar Abedi
  • 133
  • 2
  • 10