I want to retrieve neary by locations from my current locations how can I do it...
For example
If I am In Ahmadabad city than give the list of all hotels of ahmedabad city
how can i do it
plz help me
Use Google-Place-Api for this.
There are nice tutorials for how to use this api in android.
Part 1: Using Google’s Places API to Develop Compelling Location Based Mobile Applications
Part 2: Using Google’s Places API to Develop Compelling Location Based Mobile Applications
Also SO questions:
Using Google Places API in Android
Using Google Places API
Blog:
Introducing the Google Places API
Related
I'm building a route recommendation app in Android Studio where the user can see the best route between two destinations on the map. I am using Google Maps APIs for that and I know that it's using Dijkstra's algorithm to determine the route. But I wonder if the API can update the route according to real-time traffic, I didn't find any information about that.
Google Maps is updated constantly – literally, every second of every day!
refer this page
On my Android app, I am trying to implement Dijkstra's algorithm for some cities, but I want to give weights to the streets manually. Is there any way I can get a graph of all crossroads of a given city and the streets connecting them using Google Maps Android API for implementing this? If no, is there any other service that will provide me with a similar feature?
I am fairly new to Google APIs.
My business purpose is to get a list of hotels in my area.
From the Google API list, I figured that either Google Map Engine API or Google Places API would be ideal.
Google MAP Engine API - was chosen because in the documentation it said that we can access public data.
Google Places API - was chosen because in the documentation it said that we can access places in a locality.
Could anyone help on whether I have chosen the right API? And can my business purpose be achieved using Google APIs?
As far as i know google api v3
if you need to make a web based applicaton to do anything with google map you first need to include javascript api v3.
other apis/libraries sit on top of that
like : Places library (or you say api) , drawing library , overlays , weather etc
https://developers.google.com/maps/documentation/javascript/reference
if you scroll down a bit on contents you will see all the extra libraries there (including the place library which you need) As google says: "The Places API is integrated into the Google Maps JavaScript API as a JavaScript library."
so JUST inlude google javascritp api v3 and you get everything.
https://developers.google.com/maps/documentation/javascript/examples/place-search
use example above and change the type from ['store'] to ['lodging'] to get all the hotels near the lat,lon specified.
I want to show suggestion list same as google maps application.
I found some api on google developer site but they dont return same result as google maps application.
https://developers.google.com/places/documentation/search#PlaceSearchRequests
check this screen shot for more.
Its finding using current location, my location is jaipur,rajasthan,india.
You need to use third party library API for this. FourSuqare provides the most efficient and largest database of location based API for this. IT uses type ahead. I would recommend to use their iOS SDK or Android SDK.
The also offer REST web services. Here is a complete documentation for the same.
What you are looking for is this API
You can use a handy library that utilizes the Google Places autocomplete API ... or you can "inspire" from here... https://github.com/chenyuan/SPGooglePlacesAutocomplete
The result:
I'm new to app development and have a few questions related to google maps and places
I am a USA resident and developing an application with a programmer in India which will work on Android and iPhone. I'm wondering if I can use apple maps on iPhone and run Google Places over it. I thought I read paper work saying google places must be run on google maps period. My programming guy said this is fine to do because my app will be free? And we will run google maps on iPhone after we have established people want the app? I will have to upgrade to the business edition of maps once the app hits say 10000 users also which means I can use places over any map.
Can anyone confirm this?
Thanks
James
Google Places API usage must conform to our Terms of Service. And yes, you are correct, you need to display Google Places API results on a Google Map. We have Google Maps SDK for iOS so that should be reasonably easy to accomplish.
Being a free app doesn't absolve you of conforming to our Terms of Service, fwiw.
Using the Google Places API you can search the nearby places of a given co-ordinate. It is true that you can only request around 1000 times for free. Places API doesnt require you to be running any map application ( Apple Maps or Google Maps ). It is simply a WebService hosted by Google from which you get the data back. You can choose to display the data however you want.