On Mar 26, 3:28 am, Hareti <[email protected]> wrote: > > I don't see any polylines in FF. > > > Your problem in IE is most likely the "hanging comma" at the end > > of your array of points for the polyline. > > Hi Larry, > > It's fixed for FF now, I managed to break it last night. > > Regarding the hanging comma, I had considered this but it doesn't > seem to be the problem. Earlier I tried making a static html page > the same as what the php script generates but removed the hanging > comma. The result was the same - fine in FF and Chrome but no track > in IE. > Anyway, this would cause a problem with the JavaScript rather than > the browser wouldn't it?
Hanging commas (a comma at the end of an array without anything after them) cause major problems in all versions of IE browsers. IE expects another element after the comma, when one isn't there it inserts a null object which tends to cause an error in javascript and make maps not work. All other browsers handle the "hanging comma" differently. -- Larry -- 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.
