google-places-api

Google Places API not marking routes for some places

萝らか妹 提交于 2019-12-08 12:38:54
问题 I am using Google Places API to mark the route between 2 places. It is working fine for most of the routes. However, it is not marking route for few routes. This is because "directionsService.route" request is returning "ZERO_RESULTS" status for some of the routes. Below is one of the inputs for which it is not working. Source A: South End Circle, Basavanagudi, Bangalore, Karnataka, India Destination B: Jayanagar 4 Block, Jayanagar, Bangalore, Karnataka, India Intermediate point C: Tata Silk

Google Places API: More specific types?

旧城冷巷雨未停 提交于 2019-12-08 11:15:26
问题 When I Google "Justine's" I can see that it's listed as a "French Restaurant". (See screenshot) When I use the Google Places API to get details about the same spot I only see a list of "types" that includes high-level terms like "restaurant" and "bar", but I see no specific types like "French Restaurant". Does anyone know if it's possible to get this data? Thanks! 回答1: I think you would probably have to check with the text search method on the api.. https://developers.google.com/places

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

How do i find distance between one place to another using Geolocation or Similiar API without embedding a Google Map? [closed]

不问归期 提交于 2019-12-08 07:35:23
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 4 years ago . I am having a list of tourist locations with me and i am willing to write a service that could tell me which tourist location is nearest to me and then second nearest and likewise without using a map. How can i do it. The idea is that i have a database of all the tourist locations

How to know when Google places has loaded and is ready (asynchronously)?

亡梦爱人 提交于 2019-12-08 06:31:28
问题 I load google maps and places asynchronously in JQuery : var script = document.createElement('script'); script.type = 'text/javascript'; script.src = "http://maps.google.com/maps/api/js?key=myKey&libraries=places&sensor=false&async=2&callback=MapApiLoaded"; document.body.appendChild(script); The callback is called when Google Maps has loaded : function MapApiLoaded() { var input = document.getElementById('searchField'); var options = { types: ['(cities)'], }; autocomplete = new google.maps

How to use Google API client library?

允我心安 提交于 2019-12-08 05:41:57
问题 I want to use Google places API in android application. which Jar library do i need to add? i have already downloaded the zip contains all the jars with their source.jar i doc't know which jar should i use in android 2.2 and what to do with source.jars 回答1: Please follow this tutorial: http://blog.brianbuikema.com/2010/08/android-development-part-1-using-googles-places-api-to-develop-compelling-location-based-mobile-applications/ and you can move ahead quickly in you answers. It seems to me

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

99封情书 提交于 2019-12-08 05:31:24
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 google.maps.places.RankBy.PROMINENCE; presenting ordered markers and reasults in a table with type icons.

Can I store name, address, and LAT/LONG from Google Places API in my own database

家住魔仙堡 提交于 2019-12-08 05:19:12
问题 Googles Places' terms about storing information can be a little confusing and I hope someone can shed some light. I want to build a database and collect unique data on businesses but in the process my app needs to get the name and address of the business in order to store information about each business location. I specifically want to know about storing the name, longitude, latitude, address, and possibly the place ID to build the database and speed up searches when using my database in

Locations uploaded to Places not appearing in Query

陌路散爱 提交于 2019-12-08 04:50:37
问题 I am using Google Places API to store points at Google site. In short, i developed a simple set of Java Classes that would make use of JSON and my Google API Key to post it. I recvd success message with the id,reference and status det. Let me make it clear that I am not an Enterprise customer and I am not paying any money to Google for maintaining the points. Next, I made a simple HTML page(not JSP) built using Google Maps and Places Javascript API wherein i have text boxes enabled with

geocomplete for rails 4 not working in Heroku

会有一股神秘感。 提交于 2019-12-08 04:03:39
问题 I'm running a rails 4 app and have installed v1.6 of the jquery geocomplete plugin to provide a google places autocomplete function. I followed the instructions on the geocomplete github page (http://ubilabs.github.io/geocomplete/) The plugin works perfectly when running on my localhost, but when I upload my app to heroku, the autocomplete simple doesn't work - the google map does not show and typing in the autocomplete text field doesn't trigger any response. In addition, no other javascript