google-places-api

PlacePicker doesn't pick up material theme

半腔热情 提交于 2019-12-23 07:47:07
问题 I am using a PlacePicker library from Google Play Services which starts up a new activity. The new activity/picker has a toolbar (actionbar) which is not styled by default. PlacePicker documentation states that If you set custom colors in your application using the material theme, the place picker inherits the colorPrimary and colorPrimaryDark attributes from the theme. I have a theme in my style.xml file: <style name="AppTheme" parent="Theme.AppCompat.Light"> <item name="colorPrimary">

proper event in google places autocomplete select with mouse

雨燕双飞 提交于 2019-12-23 07:16:37
问题 I am using google's autocomplete api just like in the docs and it works fine. However I have a form submitted with ajax every time it changes . It works fine but when I use the autocomplete for the location with the mouse (choosing a place with a click). It trigger the onchange and submits the form before The location is set. How can I block this behaviour ? I mean submit after the mouse click on the autocomplete. Here is a fiddle with an example : http://jsfiddle.net/8GnZB/2/ $(document)

Android : API key Conflicts when merging a library into app

倖福魔咒の 提交于 2019-12-23 06:14:07
问题 I am using the Google Places.GEO_DATA_API in my Android Library Project. My Android Library Project comes with its own UI and allows users of the parent app to complete a certain action. I am running into following issues with respect to merging my Android SDK into a Android application when using third party API like this. These Issues assume, that my library project and the App that Integrates my library project are both using same API for instance Google Places.GEO_DATA_API Issue 1:

Get the industry sector of a company with Google Places API

喜欢而已 提交于 2019-12-23 05:22:45
问题 I am trying to get the type of industry sector a company belongs to by using the Google Places API. For example, when I do the obligatory example search for "rhythmboat cruises pyrmont", in the information box on the right side, Google tells me that this company is a "Cruise Agency" - however I am having a hard time finding this information within the Google Places API - neither using one of the general searches nor by using the detail search. Am I right with my assumption that Google does

How to get String PlaceTypes from Integer value?

强颜欢笑 提交于 2019-12-23 04:50:16
问题 I am new to learning Google Places API and have been searching for an answer to this problem without much luck. So in the first part of my app, I wish to retrieve the placeTypes of my current location. I have successfully done that, but it returns a list of Integer values, which then correlate to different Place.TYPE_*s. My overall goal, though, is to get the current placeTypes of my location, then do a PlaceSearch via URL. To do so, I need to convert the Integers in my list of the location,

Google place api search result with place_id returns different location with place_id

 ̄綄美尐妖づ 提交于 2019-12-23 04:45:16
问题 I'm using google places api, but it returns the value with different place_id. I have considered this blog : https://developers.google.com/places/documentation/search I have requested with place id like this : https://maps.googleapis.com/maps/api/place/details/json?key=AAIS... In this url, you can see that the place_id is "EiJ..." But in the returning json, i have received different place_id. "place_id" : "AASS...", "reference" : "df..." When I have tried with reference, it was the same. What

AngularJS - Google Place Autocomplete API Key

五迷三道 提交于 2019-12-23 04:12:24
问题 I'm new to using Google's APIs and have been trying to figure out how to implement the Places Autocomplete API with Angular. I've never really worked with autocomplete in general. I do not have the jQuery library pulled into my project at the moment, but I believe I've seen some developers utilizing that inside the directive with element.autocomplete . I did look for any existing directives that might help with this, and I've found: https://github.com/kuhnza/angular-google-places-autocomplete

AngularJS - Google Place Autocomplete API Key

走远了吗. 提交于 2019-12-23 04:12:19
问题 I'm new to using Google's APIs and have been trying to figure out how to implement the Places Autocomplete API with Angular. I've never really worked with autocomplete in general. I do not have the jQuery library pulled into my project at the moment, but I believe I've seen some developers utilizing that inside the directive with element.autocomplete . I did look for any existing directives that might help with this, and I've found: https://github.com/kuhnza/angular-google-places-autocomplete

Total Reviews are no longer getting in Google Places API, and Method Not Found in Google My Business API

本小妞迷上赌 提交于 2019-12-23 03:27:11
问题 Since May 25, 2016, Total reviews count are not getting in Google Places API. After doing homework in fixing this issue, I came to know that Google My Business API is the suggested solution. When I tried Google My Business API and make a request on Https as described in their Get Started Guides. I got the following message on OAuth 2.0 Playground I have also tried using client libraries and download C# client library, but unable to open it in VS 2013 as it suggest that my target framework is

Google maps api 3 with places DEMO works only in Chrome… why?

老子叫甜甜 提交于 2019-12-23 03:24:30
问题 There's a lot of Google Maps API Places info on here already, but here's a demo which show a lot of what many people seem to be having problems with, sadly though it only works in Chrome (at least not in Firefox or IE). http://gmaps-samples-v3.googlecode.com/svn/trunk/places/2012-may-hangout/search.html Can anyone explain why? it has a lot of unnecessary things like animated dropping of markers, but has a really good example of the difference between google.maps.places.RankBy.DISTANCE; and