William, that did the trick!

Thank you!

On May 10, 8:40 pm, William <[email protected]> wrote:
> On May 11, 6:51 am, drmaltby <[email protected]> wrote:
>
> > I have a web pagehttp://txpub.usgs.gov/basinmap/basinmapxml2.htmthat
> > grabs an xml file (based on the select list) and parses the data using
> > jQuery.
>
> it looks like the xml file is being downloaded twice, firstly by
> GXmlHttp, then by jquery get()
>
> These are the changes I made to make it display:
>
> ---------------------------
> 1. start by commenting out the call to jquery get()
> ---------------------------
> /* // Open the xml request
>  $.get(baseurl + pXmlFile,{},function(xml){
> */
> ---------------------------
> 2. then process the xmlDoc instead of the xml
> ---------------------------
> //XML response
> $('hucSites',xmlDoc).each(function(i) {
> ---------------------------
> 3. no need to add the marker to the manager, because they are being
> added by batch later
> ---------------------------
> //mgr.addMarker(marker);
> ---------------------------
> 4. no need to return the batch, and comment out the end of the jquery
> xml request
> /*      return batch;
>
> }); */
>
> ...
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-api?hl=en.

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