google-places

Maps SDK for Android not able to enable in console cloud

拟墨画扇 提交于 2020-01-21 19:17:10
问题 I'm facing the issue while enabling the Maps SDK for Android in cloud console https://console.cloud.google.com/ It will through the following errors screenshot attached I got an error can't complete this transaction after that when I click the form it will take some other page here is the link https://support.google.com/pay/contact/account_verification after I submit my all document ill get the following response from google they posted 28-48 hours we will contact but there is no response

bind google places autocomplete on textbox without instantiating a google map

放肆的年华 提交于 2020-01-20 03:09:20
问题 I'm trying to add Google Places Autocomplete on my Website. I'm having a problem with binding my search textbox with Autocomplete without the use of instantiating a google map. What I'm trying to do is, I want to use the autocomplete as a text suggestion on my search field. but sadly, all the tutorials I've seen had autcomplete being used along with a google map. Is there any way around this? Thanks in advance. 回答1: Guys you can use following code. <!DOCTYPE html> <html> <head> <link type=

Removing Places from OSM

北慕城南 提交于 2020-01-15 06:40:07
问题 Doe is exists a way to remove all the places from the OSM map? Also like shops, bars, restorations, hotels etc. I wish to use a maps with a less info. Is it possible to do this from the original OSM server? Maybe like a option in URL or something else? I use Leaflet library for my project, maybe some option in it? I wished to have it like in GMAPS API: new google.maps.Map(map_div,{ styles:[{ elementType:'all', featureType:'poi', stylers:[{ visibility:'off' }] }]}); Over JS or over extra URL,

React Native - How can I display an image returned by Google Place Photos API?

六眼飞鱼酱① 提交于 2020-01-13 07:20:05
问题 I have developed a backend API which given the latitude and longitude of a location it returns an image for the city using Google Places Photos API My React Native app calls the endpoint to try and load the image into an Image view. This is how the app calls the endpoint and receives the response... try { let imageResponse = await fetch( `https://budgettrip.herokuapp.com/locationimage/${latitude}/${longitude}` ); let response = await imageResponse; this.setState({ locationImage: response });

React Native - How can I display an image returned by Google Place Photos API?

夙愿已清 提交于 2020-01-13 07:18:50
问题 I have developed a backend API which given the latitude and longitude of a location it returns an image for the city using Google Places Photos API My React Native app calls the endpoint to try and load the image into an Image view. This is how the app calls the endpoint and receives the response... try { let imageResponse = await fetch( `https://budgettrip.herokuapp.com/locationimage/${latitude}/${longitude}` ); let response = await imageResponse; this.setState({ locationImage: response });

React Native - How can I display an image returned by Google Place Photos API?

早过忘川 提交于 2020-01-13 07:18:50
问题 I have developed a backend API which given the latitude and longitude of a location it returns an image for the city using Google Places Photos API My React Native app calls the endpoint to try and load the image into an Image view. This is how the app calls the endpoint and receives the response... try { let imageResponse = await fetch( `https://budgettrip.herokuapp.com/locationimage/${latitude}/${longitude}` ); let response = await imageResponse; this.setState({ locationImage: response });

Ios - Google places SDK - Get places by location , not by Text

巧了我就是萌 提交于 2020-01-05 03:55:12
问题 I'm trying to show places on the map. For some reason, I can't find a function that receives the places by location. The only function that I see is the GMSPlacesClient - (void)autocompleteQuery:(NSString *)query bounds:(GMSCoordinateBounds * GMS_NULLABLE_PTR)bounds filter:(GMSAutocompleteFilter * GMS_NULLABLE_PTR)filter callback:(GMSAutocompletePredictionsCallback)callback; The problem with this function, that it is searching only by text - I can insert filters, but i also need to insert a

Search specific nearby places using google places api web services for android

寵の児 提交于 2019-12-30 05:19:08
问题 I am trying to limit the place search type to hospital using google places api web services but unable to achieve it. Logcat java.lang.NullPointerException at com.ediode.graphics3d.ClinicFragment.sbMethod(ClinicFragment.java:174) at com.ediode.graphics3d.ClinicFragment.onMapReady(ClinicFragment.java:95) MainActivity public class ClinicFragment extends AppCompatActivity implements GoogleApiClient.ConnectionCallbacks,GoogleApiClient.OnConnectionFailedListener, LocationListener,

Google Places Autocomplete - Pick first result on Enter key? [duplicate]

本秂侑毒 提交于 2019-12-30 01:36:47
问题 This question already has answers here : Google maps Places API V3 autocomplete - select first option on enter (17 answers) Closed last year . I'm using a Google Places Autocomplete and I simply want it to select the top item in the results list when the enter key is pressed in the form field and suggestions exist. I know this has been asked before: Google maps Places API V3 autocomplete - select first option on enter Google maps Places API V3 autocomplete - select first option on enter (and

How to get Places.GeoDataApi.getAutocompletePredictions ONLY inside the bounds?

99封情书 提交于 2019-12-29 07:02:08
问题 I am using Places.GeoDataApi for Android and I get different search results depending on the location of the device performing the request. I need the results to be consistently located inside the bounds. I don't see where that could be setup in the getAutocompletePredictions request. Is there anything I am missing? I get address/place autocomplete suggestions using the GoogleApiClient and Places API through: Places.GeoDataApi.getAutocompletePredictions() The method requires a GoogleApiClient