google-places-api

Google Places API Limits

为君一笑 提交于 2019-12-07 05:09:46
问题 I am looking into the Google Places Autocompleter. It works perfectly, I tried using the code provided. However I see they mention something about limits per API key. First of all, I don't have an API key, and it works. I dont see a limit regarding no API keys? Secondly, do they limit per client IP (the browser that is viewing my site), per domain, or something else? If they limit per domain, will sub1.domain.com and sub2.domain.com share the same limit? I can't seem to find anything

Where do Google and Twitter source political boundaries of cities, regions and states?

青春壹個敷衍的年華 提交于 2019-12-07 04:48:38
问题 I have recently noticed the nice dashes that Google Places puts around cities, regions, states etc. I've been hunting around in the Google Maps API and the Google Places API trying to find out how to access the information thus displayed, without success. I've discovered that Twitter has a nice API for this and I would be tempted to use that instead of Google's, but I worry that the lines that Google draw and the lines that Twitter draw may not correspond. Is it safe to assume that both

Google Maps Places api, how do I get the standard infowindow content from a marker

馋奶兔 提交于 2019-12-07 03:56:20
问题 New to Google Maps, and not a script expert either. Thanks in advance for any help you can provide. I am putting a google map on a page of store locations. I have managed to get the map to display the marker I want for the store location using the search. Now I want the infoWindow to be populated to look like the standard google window. But using the code I was able to find on the places library, the results show up unformatted with no line breaks, and shows errors if a piece if information

How to get data for menu and product listings from Google Places API?

烂漫一生 提交于 2019-12-07 03:10:16
问题 On Google Maps, businesses can add product details or food items ("dishes") from a menu to their store or restaurant "place". How do we get this data? In the Google Place Api, Places details this information is not specified. 来源: https://stackoverflow.com/questions/52711117/how-to-get-data-for-menu-and-product-listings-from-google-places-api

Failed to load optimized model at path error with Google Maps API using Xcode 7 / iOS9

a 夏天 提交于 2019-12-07 02:26:52
问题 I am trying to use the Google Places API autocomplete feature in my code. import UIKit import GoogleMaps class ViewController: UIViewController, GMSMapViewDelegate { var placesClient: GMSPlacesClient? override func viewDidLoad() { super.viewDidLoad() placesClient = GMSPlacesClient() let filter = GMSAutocompleteFilter() filter.type = GMSPlacesAutocompleteTypeFilter.City placesClient?.autocompleteQuery("Pizza", bounds: nil, filter: filter, callback: { (results, error: NSError?) -> Void in if

Google places autocompletes API Android : bounds not working

笑着哭i 提交于 2019-12-07 01:26:39
问题 I'm defining my bounds as follow: private static final LatLngBounds BOUNDS_CHENNAI = new LatLngBounds( new LatLng(12.8339547, 80.0817007), new LatLng(13.2611661, 80.33632279999999)); // Chennai city bounds. Creating Goolge API client as follow: mGoogleApiClient = new GoogleApiClient.Builder(this) .enableAutoManage(this,this) .addApi(Places.GEO_DATA_API) .addConnectionCallbacks(this) .build(); And using those bounds in adapter as follow: PendingResult<AutocompletePredictionBuffer> results =

Android PlaceFilter usage with Google Places API

冷暖自知 提交于 2019-12-06 21:22:48
问题 I am trying to use the Google Places API and I would like to filter my search to only gym types. I am using the code given at https://developers.google.com/places/ public void onPickButtonClick(View v) { // Construct an intent for the place picker try { PlacePicker.IntentBuilder intentBuilder = new PlacePicker.IntentBuilder(); Intent intent = intentBuilder.build(this); // Start the intent by requesting a result, // identified by a request code. startActivityForResult(intent, REQUEST_PLACE

Why are keyword searches acting like name searches in google places API?

和自甴很熟 提交于 2019-12-06 17:03:38
I am working on a public health project where I'm scraping an entire state for tobacco vaping shops. I've been experimenting using the google places API webservice, specifically the Nearby and Text methods . Below is some quick R code (needs some error checking, but runs) to show you the two versions of what I'm doing. I'm finding that keyword searches seem to be behaving like name searches - my results for "vape" in either Nearby Search Requests or Text Search Requests are being waaay too strict, giving me only, for instance "The Vape Escape", "Cloud Vape Lounge" and "Juice Vapeorium" - but

Google Places JS API Show Reviews

有些话、适合烂在心里 提交于 2019-12-06 16:41:45
JS API, not web service: I'm having trouble displaying the 0-5 reviews included with the Place Details Responses: https://developers.google.com/maps/documentation/javascript/places#place_details_responses So far I have been able to display these items: details.name details.rating details.open_now details.formatted_address details.types details.formatted_phone_number But when I try to show details.reviews it just displays: [object Object],[object Object],[object Object],[object Object],[object Object] Has anyone had any success displaying the reviews? function createMarker(place) { var image =

Change default text “Enter a Location” In Google Maps Places API

℡╲_俬逩灬. 提交于 2019-12-06 16:35:49
问题 I've looked all over the internet trying to find an answer to my problem, and the closest thing I've found to an answer is another Stack Overflow question, here: How do i change the default text in Google Maps API Places Autocomplete The problem is that either the OP did not have quite the same requirements as myself, or they didn't quite make it clear if they do. I'm looking for a way to take the default "Enter a Location" in the text input field, and replace it with something else while