What do you want your [Print] link to do? It can't do *everything* that 
the one on maps.google.com does because you don't have permission to use 
all the services that are involved. What you can do is create a 
"printable" version of your map, possibly in a popup window, possibly 
using the static maps API, possibly with very different @media CSS from 
your normal map, and send it to the printer by calling window.print();

You can create a [Link] link like this:
  http://econym.org.uk/gmap/example_linktothis.htm?lat=53&lng=-3&zoom=12
which is explained here:
  http://econym.org.uk/gmap/linktothis.htm

To create a [Send] link, you need to generate the URL as above, and then 
create a <form> to capture the email address info send it all to an 
email server script. Writing an email server script is not within the 
scope of this discussion group. Or you could build it as a mailto: link, 
like:
<a 
href="mailto:[email protected]?subject=google%20map%link&body=http://eco
nym.org.uk/gmap/example_linktothis.htm?lat=53&lng=-3&zoom=12">Send 
Mail</a>

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to