Take a picture from google streetview - google-maps

Is it possible to embed streetview for an address. Then user will move around in streetview with zoom, pan etc and finally can we provide user a button which will capture the image and send to an application. Alternatively, if it is not possible to use the button and capture an image of what the user sees then, we can we take a streetview link from the user like this one and then can we get the image on php similar to what is shown in flash?
The whole idea is to be able to get what user sees on streetview as an image to the server.

Have a look at StreetView.py This python script parses all panorama information.

yes,you can use iecapt.exe which will capture a particular div area.
you can check on the following link
capturing webpage using iecapt

Related

Inserting an iframe or Dynamic content into an info window?

I have a google map which is hooked up to a fusion table. Its pretty basic, lists street address, phone, and branch #.
I recently got a request though to add current weather to the info window that appears when a user clicks on a map marker.
Initially I thought I could just iframe this in, but it appears that google strips that HTML out of the info window when I add it in. I guess only basic html is allowed.
Does anyone know a way to throw dynamic content into that info window box or a way to get around google stripping out the iframe code?
The only iFrames I can get to work in fusion table map windows or cards are youtube embeds. Other iframes appear to get srtipped out as you say. It would be a good feature to be able to have universal iframe content instead of just google products.

How to Show Driving Directions on New Google Maps via URL Link

I have a simple Google Maps link on my site that opens a new page and loads the driving directions from our location to customer's address.
The link is something like
https://maps.google.ca/maps?saddr=[our address]&daddr=[customer address]&dirflg=d
Where [our address] is replaced with our address and [customer address] is replaced by the customer address. The Google Maps is loaded properly with the directions drawn out on the map but is there a way to expand the "List all steps" for the default selected direction on page load?
I'm guessing Google Maps will automatically load the "best" route when the page is loaded but currently the user has to manually click on the "List all steps" to view the step by step directions. I want it so that when the user clicks the link on my site then it'll automatically load the map directions along with the step by step directions already opened. Is there some kind of special URL parameter that I can pass to do this?
I've been looking for the same solution - If you are able to format the link in the following way this works:
https://www.google.com/maps/dir/[customer address]/[our address]/am=t/
It would be good to figure out how to submit it from a standard HTML form though.

Adding google maps to webpage

I want to create one webpage with one textbox, one button and one div containing the google map. My use case is whenever I enter some address in textbox and click on the button the google map for that place should get rendered in that div. Can anybody please help?
You want to use the Google Maps API:
https://developers.google.com/maps/documentation/javascript/
and either the geocoding service:
https://developers.google.com/maps/documentation/javascript/geocoding
or autocomplete:
https://developers.google.com/maps/documentation/javascript/places#places_autocomplete
The samples linked there should give you plenty of code to draw on.

Google Maps API v3 - how to save map into cookie/localstorage

I'm building a page which loads a google map, with street view on another div on the side and I would like to save that data so if the user closes his browser window and then comes back that it will bring it up again without the need to call the Google Map API again.
I've tried saving the div contents and replace it with the current one incase the user visited already.
I tried with cookies but couldn't save much information due for size limit of 4kb and I've tried localStorage (HTML5) but it didn't work as expected.
Any ideas?
Thanks

add functional icon in google map link that i want to email

I have spent hours searching for the answer, forgive me if it was right in front of me.
I want to send an email with a google map link
http://maps.google.com/maps?q=address
(I got this from an answer in stackoverflow.)
In his iphone, the reader taps the link in the email, the map opens,
The reader taps Directions, then Route,
And the route, time and distance appear in the map from the reader’s current location to the map address above.
Now – I want to include an icon visible on a corner of the map view that reads “I’ll be there.” When the reader taps that icon in the map, the end result is the reader responds in the email to the sender “I’ll be there.”
How hard is this to program?
The intermediary physical steps are - Tap main iphone button to main screen. Tap email. Tap respond arrow. Tap Reply. Type “I’ll be there.” Tap Send.
You will want to look at embedding a map into your own web page using the Google Maps v3 API. The link in your question is a web page rendered by Google. You will want to control the rendering to add your button. I don't know of any other way.
Bob
[Update] Here is a jsFiddle using the API to render a map. http://jsfiddle.net/JsAJA/3/