Thanks Ross,

>From what you say then I need to stick with the Full API.

What I am trying to do is pull this map into Google Earth as a screen
overlay.  A similar capability can be seen here:

http://www.nearby.org.uk/blog/2008/07/27/google-earth-chart-plotter/

But this chart plotter uses the static map strategy ("http://
maps.google.com/staticmap?...") so that a .png file is returned.
This .png files is very easy to use as screen overlay in Google Earth,
but is limited in that I cannot overlay custom kml files.

I need to take the next step and put in custom kml files on that map
prior to using it as a screen overlay.  I feel like I am just missing
the final piece.  I can create the google map with the custom kml
overlay (Thanks to all the help above!), and I can use an .png file as
a screen overlay.  I just don't know how to create a .png file from
the html reference to my custom google map returned from the API.

Any ideas?

Thanks,

Taylor

On Oct 3, 2:28 pm, Rossko <[EMAIL PROTECTED]> wrote:
> > I've posted my attempt at creating a static map here.  Where am I
> > going wrong?  In Internet Explore I get an error saying GMap2 is
> > undefined....
>
> You must draw a clear distinction beteween Static maps and the API.
>
> With static maps, you construct a request in the URL and send it to
> googles servers.  They send you an image back.  That's it; there are
> no client side functions included, it's just an image.  You can't run
> GeoXml on it, you can't do any of the usual G-functions.
>
> When you use the full API, you get a collection of javascript loaded
> into the client's browser.  Together with other you write, or include
> like geoxml.js, you can instruct that javascript to build maps for and
> run client-side functions e.g. to add markers and so on.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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