google-places

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

Shinydashboard: Google Places Autocomplete. InvalidValueError: not an instance of HTMLInputElement

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 01:07:49
问题 I am trying to put a shinydashboard together and have a Google Places Search box as a text input. The code below runs in a regular shiny page, but throws an InvalidValueError: not an instance of HTMLInputElement error when it's put into a shinydashboard . (See image below) I'm not sure why it would work in a regular shiny app but not inside a shinydashboard . Screenshot of error: Minimal reproducible code example: Note: Plug in your Google API key first library(shiny) library(googleway)

Why do some results show up in Google Maps but not in Places API results?

故事扮演 提交于 2019-12-10 19:05:43
问题 Ok, so when I search for "Dobry" on Google Maps I get this result: http://maps.google.de/maps/place?q=dobry&hl=de&cid=15804306880695571087 But when I try to retrieve that same restaurant from the Places API, https://maps.googleapis.com/maps/api/place/search/json?location=48.1321091,11.366&radius=500&types=establishment&sensor=false&name=Dobry&key=ABCDEF1234, I get ZERO_RESULTS . How can I retrieve the id (not cid) Tag of that establishment? And why do the results differ? The lat/long location

Android: How to display photos from Google Places API

两盒软妹~` 提交于 2019-12-10 11:29:08
问题 I have an application which is returning a list of places from the Google Places API. When a user clicks on a marker (representing the place) on a map, a Dialog box pops up with details about that place. I would like to also display a photo of the place (if one exists). I am aware of the Place Photos API from here : https://developers.google.com/places/documentation/photos#place_photo_response I am able to retrieve the photo_reference from the Place Details response, and I can pass that to

How to enable CORS for Google Places API

余生颓废 提交于 2019-12-10 02:34:44
问题 I have tried everything possible to make my app work without the need for the "Enable CORS extension for Chrome". I followed the steps on Google's official website which talks of authtokens, tried using every different key, but nothing works. I get the following error: XMLHttpRequest cannot load https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=MyKey&location=33.854546,-84.35870369999999&types=restaurant&rankby=distance. No 'Access-Control-Allow-Origin' header is present on the

This IP, site or mobile application is not authorized to use this API key. How to fix this issue for an ios app?

烈酒焚心 提交于 2019-12-09 18:31:33
问题 I'm working on Augmented reality in ios app. I found a nice tutorial and a sample project from this site. While running that app in my device, I received the error in NSLOG console, Response: { "error_message" = "This IP, site or mobile application is not authorized to use this API key."; "html_attributions" = ( ); results = ( ); status = "REQUEST_DENIED"; } I'd created a new project in Google dev site and created Sever Key as iOS Key is not supported for Google places Api. I'd also tried

iOS Google Places API: “This IP, site or mobile application is not authorized to use this API key”

天涯浪子 提交于 2019-12-09 02:49:37
问题 I am testing the Google Places API on an iOS 7 app. When I send a request to the API I get a json result with the following error message: This IP, site or mobile application is not authorized to use this API key. To build the request, I went to the Google API console and generated my iOS API Key based on my application bundle. I'm not using Google Maps or anything else on the app, just trying to make a request to the Places API. Is there anything I'm missing? PS: I copied the URL I'm using

Google PlacePicker Closes Immediately After Launch

倖福魔咒の 提交于 2019-12-09 02:26:33
问题 I am developing an Android Application and was looking into Google Places for some functionality within the application. Google has recently released the PlacePicker feature which is what I am using. I have followed the Google guidelines and quick start guides to the "T". The functionality was working amazing as of three hours ago and now when I go to test it, it launches and then immediately closes with no errors thrown in the stack trace. Here is how I am using the code: This is within a

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

。_饼干妹妹 提交于 2019-12-09 01:26:37
问题 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 - to populate the other with a list of it's regions. Is it even possible with Google Places API? Cheers :) 回答1: No, it is not possible with Places API. You have 2 options: Use Another Database There are a few free databases of country/state lists.

A Missing Data Issue in Google Places API

那年仲夏 提交于 2019-12-08 09:35:07
问题 I'm having a missing data problem in Google Places API! As seen in the example below, the Google Place additional info like mobile number, alternate phone, fax phone, are shown in the Google Map search results, but not through the Google Places API! Following this link, you could notice the added alternate phone number, mobile: www.google.com/maps/place?cid=4256683212236351718&q=hamza+kamaleddine+home&hl=en&ved=0CBQQ-gswAA&sa=X&ei=cO4wT4arE8Wp8QOZqITuDA But using the Google Places API (using