On Feb 28, 2:48 pm, Andrew Leach <[email protected]> wrote: > On Feb 28, 9:50 pm, WorldCabFares <[email protected]> wrote: > > > Sorry, I must have been tired. > > > I meant to say I get errors as soon as I introduce the ... > > > header("Content-type: text/xml"); line > > > The error reads: > > > XML Parsing Error: not well-formed > > That's because &v= is invalid in XML. The XML parser is expecting & to > be followed by a valid entity and a semicolon. Replace &v= with > &v= (and similar occurrences). > > While correcting that you might also want to look at your XML data > islands; they appear to contain no useful data.
Also, you have neglected to declare the local version of "marker" in your createMarker function with the var keyword, so you don't get function closure on it (all the click listeners open on the same marker, the last defined). -- 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.
