Here's the method I'm using to parse and display xml now...had a similar problem when transitioning from v2 to v3. Line 21 is where I use the javascript that google has supplied if you search for it...and line 100 is where I load the xml. Hope that helps.
On Oct 20, 12:45 pm, Andrew Leach <[email protected]> wrote: > On 20 October 2010 19:37, Jean-Jacques JESUA <[email protected]> wrote: > > > > > I'm very new in this forum. > > We created last year a very simple page with the Google Maps API V2. > > > This page contains a Map & button (radio box) to display or to hide a > > set of objects. The data about the objects (longitude, latitude , > > Address) are store in a XML file. When we click on an object, we > > display some information in a text box just behind the map. > > > The issue is the application is not longer working with IE & with > > Chrome : impossible to display the objects when we click the button. > > > I have know the Api was upgrader and the function to read & parse the > > XLM doen't exist any more. > > > Is there an alternative to maintain our application with API V3. > > > Thanks in advance for any help or example. > > You have already asked this question. The function to read and parse > the XML still exists in Version 2, so if your map no longer works it's > almost certainly the XML data which has changed. Invalid XML cannot be > parsed. > > In Version 3 you need to use the browser's own XML-handling methods. > > Perhaps if you gave the url of your page (in the Version 2 group, > probably, if it's still using Version 2) someone might be able to help > get it working. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
