> ... I see that her javascript retrieves the XML by contacting the php
> page she created. .." Â GDownloadUrl(searchUrl, function(data) { " I
> don't have a php page. I have the XML on the same page.
I think you may have missed something here.
If you have a starter map and a search box for the user to fill in
on the same page ... how will your server-side code be able to output
your search results onto the "same page" before the user has seen the
page and filled the box in?
You could perhaps force a complete webpage reload and complete re-
rendering of the map every time they search - this is slow and
wasteful so nobody does it that way.
The example uses the AJAX technique, perhaps you should look into
the basics of that.
--
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.