To find location based on time elapsed in Google Maps API - google-maps

I am working on plotting a multi-colored route using Google Maps API. It should plot different colors based on time elapsed between two points. For this I am trying to find location after user enters time taken to reach that location.
Is there any method to do so?

Related

What if I have no results to display on a map after calling Google Distance Matrix API

I would like to develop a service, using Google Distance Matrix API, where a user can enter their current location and a map will be displayed showing how many other users from their group have addresses in the same general area. For privacy reasons, I do not want to show any other details (location, name, address etc.) of those other users just the number of people.
In order to ascertain this information I was intending to make a call to the API and displaying under the map of their area a message like "There are 5 other people within a 3 minute drive of your address".
Can anybody tell me whether this meets the API limitation:
The Google Maps Distance Matrix API may only be used in conjunction with displaying results on a Google map. It is prohibited to use Google Maps Distance Matrix API data without displaying a Google map
If my requirements of the API are not acceptable, could anybody suggest another publicly available API that I could use in its place?
Thanks!
Yournavigation Api gives you distance from given points.
Try this request example.
You can find their usage policy here.
They said that there are no limitations on usage, except those regarding overload:
The routing API is open and freely available for everyone under the condition that you don't overload the server. Overloading the server in this context means: more then 1 request per second for sustained periods of time. Bursting multiple requests for short time-periods is not a problem though

Google Map calculate formula of marker

I'm using Google Maps API to set location markers. Will placing e.g 10 marks using setMap() be "charged" by Google ten times or one time?
As far as I understand, setMap() just sets markers on an already "charged" API call. I just want some confirmation on this.
If you are just placing markers by coordinates, the only quota that would apply would be for the API, which is counted by "API loads" from google's server (typically one per page view)

how can I show the navigation gps data on google maps?

I have a GPS device which populates data continuously. I need to show the movement on Google maps. Like for example user is moving from Phoenix to LA. I need show his movement with blue marker on google maps showing his movement along with path traveled.
Is it possible is there an Maps API that does it for me like: I keep pinging the new lat, long to Google maps. And google maps keep showing the advancing movement on the map.
You need to implement a LocationListener which will force you to implement 4 methods. One of those methods is the onLocationChanged this method, when your location changes will update and do something that you want. I guess you want to update and show your current location.
It is very important that you use requestLocationUpdates() and check this out:
http://developer.android.com/training/basics/location/locationmanager.html

Look up walking time (calculated by Google maps) between two addresses (in a Google spreadsheet)

I have a Google spreadsheet with one column of physical addresses, and I want to have a second column be the time in minutes to walk between the address in column 1 and a second address (as determined by Google Maps). Any recommendations on how to accomplish this task?
From my understanding of the Google Maps terms of service, they:
don't like people using their service as a "batch geocoder". This means that
you will need to throttle your requests (place delays between each successive request, to avoid the OVER_QUERY_LIMIT error)
it is against the terms of service to use the geocoder (and maybe the distance service) without displaying a map graphic
If you still want to proceed,
you need some way of extracting the address from your spreadsheet. I think there's a Google docs API that will help you do that. I also found some custom Javascript code that does that for you easily. I don't have a link anymore :(
once you have the addresses readable from the Google Maps Javascript API, you can call the distance or directions API to get the walking distance
then you need to save that back to the spreadsheet.
It sounds like a possible application for the Distance Matrix Service.
But you can only use it if you will be displaying a map
Use of the Distance Matrix API must relate to the display of
information on a Google Map; for example, to determine
origin-destination pairs that fall within a specific driving time from
one another, before requesting and displaying those destinations on a
map. Use of the service in an application that doesn't display a
Google map is prohibited.

Google maps and Google earth application

I want to develop an application to find the value of a property based on some constants(such as the distance from the shore,the width of the road in frond of the property,the neighborhood that is located to etc) -constants that i will have to insert to that application (i guess with some tool that can make kml files with point,lines,areas and geocoding information) and variables which i will have τo take from the user through a series of forms.To succesfully calculate a value i need to make spatial querys (such as which is the distance of a point from that polygon?)
Is it possible to develop such an app with google maps or google earth or i have to develop with the use of an GIS(ESRI,Manifold etc).Also which is the difference between the possibilities of the resulting apps with maps and earth?
Thank you
Bill Chadwick has some Javascript for Google Maps that calculates the distance of a point from a poly. See the the bottom of this page.