views:

344

answers:

1

Hi everyone,

As the title suggests, I have a Google Street View object in my web page. My program 'drives' along certain routes, essentially, I control Google Street View's javascript API through an embedded Java applet (in the same page).

I need to be able to grab imagery from my current Google Street View panorama - I don't really care how. If it can't be done using Google's API - I am totally fine with actually 'grabbing' the image from the that contains the flash object - whether this is done using javascript or the Java applet, the graphical data will need to be ultimately delivered to the Java applet for processing.

What, if any, are my options?

Please note that I am not trying to save an image to the filesystem, nor am I trying to violate Google's terms of use - I am simply analyzing the image of my current position to decide on where I am...

A: 

Why not find the position of the div within the window (using javascript) then translate that by the position of the window on the screen (using javascript), and then screen scrape those bounds using java?

Seems ridiculous to me, but hey.... Its kind of a crazy question :)

Joel Carranza
That's exactly what I've done. Thank you.
Warlax