Helllo,

For a large gallery of photos, I want to allow the viewer to open on
each photo page a popup window containing a Google map centered on the
photo location. I know how to

1) generate a map with hard-coded latitude and longitude, (using
GoogleMapAPI 2.5 from Monte Ohrt  at 
http://www.phpinsider.com/php/code/GoogleMapAPI/)

2) open a popup window from the (parent) HTML page in the gallery

But how can I pass the latitude and longitude from the parent page to
the popup page ?
My galleries contain 1000 photos. Of course, I could create 1000 popup
pages using hard-coded relevant latitude an longitude for each, but it
looks rather clumsy.

Could the fact that (using the above cited API), the
"addMarkerByCoords([long], [lat])" function is in the <HEAD> section
and not the <BODY> function of the page be a problem ?


Does anyone have ideas ?

Thanks
François

--~--~---------~--~----~------------~-------~--~----~
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