On Aug 22, 3:03 pm, "[email protected]" <[email protected]> wrote: > On Aug 22, 9:49 am, spotnick <[email protected]> wrote: > > > I am trying to develop a site of planned and actual trips in the USA. > > I have a page set > > up onwww.sysmatrix.net/~spotnick/routedirections.htmwhichcomes up > > with > > javascript "script is running slowly" response. > > That must be IE. It doesn't seem to work in any other browser I > tried. > I get these errors in Firefox: > ========================================== > Error: syntax error > Source File:http://www.sysmatrix.net/~spotnick/js/NEWPLANNEDROUTEV3_E.js > Line: 167, Column: 11 > Source Code: > else { > ========================================== > Error: doLoad is not defined > Source File:http://www.sysmatrix.net/~spotnick/routedirections.htm > Line: 1 > ========================================== > > I don't think firefox likes the }; the line before the else. > > You seem to have some xml parsing that might be browser specific.
When it finally finished loading in IE I got an error there as well: Line: 8 Error: Object expected It isn't the number of points as if I take your kml file and translate it to the xml format I use for my pages, it works just fine and loads quickly. http://www.geocodezip.com/v3_GenericMapBrowser.asp?filename=spotnick_2010Day00B_31%20July_modified.xml I think your kml processing code might be doing something wrong. It is possible that it depended on some part of the v3 API that has changed since it last worked, but if that is the case, it isn't obvious from the error(s). -- Larry > > > > The problem seems to be in the drawing of the polyline between the > > markers and the statement > > point = new google.maps.LatLng(plat,plng); in the function process_it. > > > The screen will show correctly if an F5 refresh is done after replying > > Yes to stop the initial script. > > The strange thing is that I am sure this was working on 29th July (the > > day before I went to the US and it wasnt working out there correctly > > durting my stay. > > > Now on my return to the UK it isn't working here either except after a > > refresh. Why is that? > > > These markers and polyline coordinates are held in an xml file. > > > The above screen will I hope be a generic screen taking input > > parameters of the required > > route and showing the relevant information. > > > If you can offer any advice here I would be most grateful -- 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.
