Hacker1 has asked for the wisdom of the Perl Monks concerning the following question:

Hi All

In my head section, I have a Googlemap javascript that calles a function load(). This is a line of the function:
   map.setCenter(new GLatLng(43.2436, -79.889), 12);

In the body, a call is made to print the map like this:

<div id="map" style="width: 300px; height: 25px"></div> document.write("map"); <script>load();</script>

I would like to send that image to a file for later use. How can I do this ? Any help would be appreciated.

Thanks,
Hacker1

Replies are listed 'Best First'.
Re: (OT) save Googlemap image to file
by Anonymous Monk on Jan 16, 2012 at 06:48 UTC

    print to file? take a screenshot?

    There could be also some google api which gives you an image, but that would be a question for google

    See also Where should I post X?, How do I post a question effectively?

    This is PerlMonks. Stay on topic. This is not the place to ask about bugs in your javascript (or the other 'j' language) nor how to learn write a formula in a spreadsheet, even though there are many Monks knowledgeable in such disciplines.