Hi, I have a problem that's more annoying than anything else. I have a page that does Mike W's car trip from a hardcoded polyline and it's working fine, but throwing up errors from the main.js that I have no idea how to solve.
The problem (as far as I can tell) lies with overlaying the polyline, in this last bit of code: var poly = new GPolyline(points,'#FF0000',3,0.4); map.addOverlay(polyline); of course that brings up a "polyline is undefined" error because that's the first mention of "polyline" in the code. but if I do: var poly = new GPolyline(points,'#FF0000',3,0.4); map.addOverlay(poly); you can see the line on the map, but I get hit with a whole bunch of errors as soon as I hit the start button and the map freaks out and dies, basically. The same thing happens if I don't overlay anything. Overlaying poly2 works ok, but I get a "Cannot read property 'xa' of undefined" error from the main.js Anyway, like I say... it works ok overlaying (polyline) or (poly2), but it would be nice to get it working error-free, if anybody has any ideas. Here's the almost-working version: http://xelawho.com/map/moving15.htm thanks in advance... -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
