On Mar 25, 3:59 pm, "[email protected]" <[email protected]> wrote: > On Mar 25, 3:09 pm, Hareti <[email protected]> wrote: > > > Hello, > > > I am trying to display a GPS track using polylines but am having > > trouble with IE. The version of IE that I am using is 8. Firefox and > > Chrome seem to work fine. > > I don't see any polylines in FF. > > > > > The html and javascript is generated by a > > php script that reads in a text file of waypoints to be displayed on > > the map. In IE the map is displayed but the track is not showing up at > > all. After doing some reading I have made the following changes which > > have had no affect : > > > Inserted <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> in the top line > > and added xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas- > > microsoft-com:vml" to the html tag. > > > I also read that > > > <style type="text/css"> v\:* { behavior:url(#default#VML); }</style> > > > should be added in the head section but this also does not fix the > > problem. According to the google maps tutorial that I followed a > > <style> is already defined so i don't know if the text above should be > > a new definition or just added to one that's already there. > > > The changes mentioned above have fixed similar problems according to > > other threads that I have read, it just doesn't seem to be working for > > me and I have run out of ideas. > > > The offending page is here :www.hareti.co.uk/php/drawfile.php?file=test.txt > > > Any help would be greatly appreciated. > > Your problem in IE is most likely the "hanging comma" at the end of > your array of points for the polyline.
http://www.geocodezip.com/hareti_co_uk_drawfile.html -- 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.
