Oops. That was a work-around I put in when I was mistakenly mixing v2 and v3 code...v3 doesn't contain GDownloadURL. So now I put in GDownloadURL but it was giving me a "GDownloadURL is not defined" error. Then I added the call to "new GMap2" to the mapSearchResults function and it works. Should I need to call GMap2 again to have access to GDownloadURL since I'm calling it in the initialize function?
Thanks! Scott On Dec 6, 5:19 pm, "[email protected]" <[email protected]> wrote: > On Dec 6, 12:40 pm, ScottKustes<[email protected]> wrote: > > > > > Has anyone ever seen this before? I'm getting an error that doesn't > > point me anywhere. It just says "Syntax error [Object > > XMLHttpRequest]". If I click on that in the debugger, it takes me to > > my DOCTYPE declaration. Any ideas what the problem could be here? > > > URL:http://bodyfitburn.com/fitnessdirectory/directory/ > > Search by zip: 40216 > > > The actual JS code that runs on search is in "directory.js". I've > > tried dropping some alerts in to see how far it's getting before it > > throws this error, but I'm not coming up with anything. > > > This is the AJAX call > > page:http://bodyfitburn.com/fitnessdirectory/functions/ajax_calls/create_s... > > - it appears to be returning data correctly, so I'm not sure where > > else I should be digging. > > You wrote your own calls to XmlHttp. Try using the ones that come > with the Google Maps API GXmlHttp and GDownloadUrl (at least if you > want help from this group...) > > -- Larry -- 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.
