Recently, Google map could go back in time Street View by "TimeMachine".
I couldn't find the way in the APIs.
Is their TimeMachine parameter for change the time?
Have I any other way if we don't have API to get the data of "TimeMachine"?
For example, enter a URL of Street View directly.
To my knowledge, this is not possible using the API.
This feature request from the official Google Maps API bug tracker covers exactly this funcitonality:
Issue 6718: Feature Request: Access to Street View images from different times
It it open since May 2014.
Related
I help develop a desktop app that displays map information with various layers on top. Now we want to add the Google Maps traffic layer. We do have a developer API key.
How can I use the Google API without a website, to generate just the data layer I need and download it in KML or GeoRSS or any other format so I can use it in the desktop app on top of my own map?
We already use the distance matrix, geocode, and directions API. Is there a traffic API as well, or are traffic data only available for embedding on a website?
Traffic data is not available as separate API. You can only use TrafficLayer of Maps JavaScript API or Android SDK.
There is a feature request in Google issue tracker to expose these data as an API:
https://issuetracker.google.com/issues/36537583
However, it looks like Google didn't set high priority on this task. Feel free to star the feature request to add your vote and subscribe to notifications from Google.
I hope my answer clarifies your doubt.
I am getting different building shadows when calling https://maps.googleapis.com/maps/api/staticmap?center=40.1150139,-88.2273797&zoom=17&size=600x400&maptype=satellite
vs what I get from visiting
https://www.google.com/maps/#40.1150139,-88.2273797,319m/data=!3m1!1e3
I assume these are taken at different times of the day. How can I get the same image I am getting from Google Maps by calling the API?
There is no way to get satellite imagery for different timestamps via Google Maps Static Maps API at the moment.
The Google issue tracker contains a feature request to make it possible. You can have a look at the feature request:
https://issuetracker.google.com/issues/35826354
Feel free to star it to add your vote and subscribe to notifications.
I currently have an application which takes a a start and end point from a user and sends a request to the google maps directions API, for example: https://maps.googleapis.com/maps/api/directions/xml?key=my_key8&origin=M460PU&destination=NN36NW&sensor=false&mode=driving&units=imperial&departure_time=1501752779
We then display the estimated journey time for a given route. The user has asked if it's possible for us to include a link directly to Google maps so that they can see the route on the maps and make sure it looks ok.
I've seen previous questions such as this one: Link to Google Maps but that seems to be a solution for a simple Google Maps search, where as in my case I want to see a route from the directions API.
I'm trying to figure out if I there's a way I can take the data from the Directions API response and plug that in to a http://maps.google.com/maps URL that the user can click on. Has anyone ever had any success doing this?
As mentioned #geocodezip you should use Google Maps JavaScript API or Google Static Maps API in order to show exactly the same route as the output of Directions API.
There is also an option to open Google Maps web site or native app using the Google Maps URLs. You can have a look at the documentation to figure out how to create the URL:
https://developers.google.com/maps/documentation/urls/guide#directions-action
The only issue is that the Google Maps URLs doesn't provide any parameter for departure time, so you will always get routes for "Leave now" that might have discrepancies comparing to a web service that was requested for a different departure time.
Based on your question I think the Google Maps URL might be
https://www.google.com/maps/dir/?api=1&origin=M460PU&destination=NN36NW&travelmode=driving
Apologies up front - I'm not overly technical but helping a developer partner find an answer to a problem. Feel free to be as technical as you like in response though. I'll get him to look at the answers!
We're trying to pull the location (GPS coords) of the red pin dropped in the google maps app when you do a search (on iOS or android), to use in a separate app.
The key to this is that it pulls the info you've already searched for in google maps, NOT having to search again within the second app. i.e. using google maps API in the second app is off the table.
Options so far seem to be...
1) Run an intent to request the data in the background. However, it seems that the intent has to push coordinates to the gmaps app, and can't just "ask" the coordinates of the current pin.
2) Use the google maps API to allow the user of the second app to login to their account so it can pull the account Maps history (i.e. can see the most recent place in the search history). However, it seems that the google maps API doesn't give access to this data.
3)....??
We're stumped. Any ideas?
Thanks so much!
Have you considered using a Geocoder to get the coordinate data? It'll depend on your use case (when and how "red pins" are created), but you can circumvent using maps with it.
I am looking for a google-analytics-style map creating app or api based on visitor IP addresses, any suggestions?
thanks,
nicoperez
Did you take a look at the Google Visualization API? Specifically, the intensity map and the geomap.
I know there are a few of these services available. Try a google search for 'ip visitor geolocation' and similar combinations.
One that looks interesting is hostip.info as they have a community-maintained IP geolocation database that you can download in full if you wish to roll your own map.
They also provide a service where you can upload your logs to generate a little map image if you don't want to do the work yourself.
We recently added a feature for this to our EmbeddedAnalytics service. It is all based on your Google Analytics data and utilizes Google's Exp API for the data.