What I meant was that you could write a separate PHP script that returns
the htmlLarge information for a specific marker when passed the id of
the marker.
I'm guessing that the information is held in a database somewhere, so
the server would just grab the parameter with $_REQUEST, SELECT the
required data from the database WHERE the marker is the one mentioned in
the request and ECHO the text to the default output stream.
The client code would look something like this:
// function to add listeners for the markers
function addListeners(marker, i) {
GEvent.addListener(marker, "click", function() {
var url = "htmllargeserver.php?i=" +i;
GDownloadUrl(url, function(doc) {
marker.openInfoWindowHtml(doc);
});
});
}
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---