> Is that possible in any way? Preload marker overlays before the GMap
> is intiialized through the API ?

Perhaps your meaning is, can I embed data into an HTML page that I
create with some server-side tool like PHP?

Yes, you could embed data as JSON, or as XML 'data islands', or quite
probably some other way.  It might be less coding if you use a method
that is similat to whatever you use for the AJAX part.

Many newcomers to G-Maps simply use PHP (or whatever) to construct
lines of javascript that create overlays directly from their data.
Taking the simplest example -
http://econym.org.uk/gmap/example_map.htm

View source to see the lines ...

// Set up three markers with info windows
      var point = new GLatLng(43.65654,-79.90138);
      var marker = createMarker(point,'<div style="width:240px">Some
stuff to display....   etc etc

There's nothing to stop you using PHP to write those lines to your
html page with values from your data.

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