On Dec 6, 7:08 pm, xelawho <[email protected]> wrote:
> > If you do that, we can run a debugger on the page and see why you are
> > getting errors.
>
> it's up there now, athttp://xelawho.com/map/moving15.htm
>
> pre-button click, I get the slightly obscure "Cannot read property 'x'
> of undefined"
>
> post-click, it adds a couple of 404s and the slightly less obscure
> "Cannot call method 'lat' of undefined"
>
> which I'm sure will mean more to you than it does to me.

Nope.  But looking at it in a debugger does.

change this:
var poly = new GPolyline(points,'#FF0000',3,0.4);
to
poly = new GPolyline(points,'#FF0000',3,0.4);


comment out this:
//               animatedLine.push(points);

and
        // create poly for animation
//       poly = new GPolyline(animatedLine,'#FF0000',3,0.4);

and it works for me on a local copy.  FYI, I also changed this:
new GLatLng(14.836926,-91.524906),

to
new GLatLng(14.836926,-91.524906)

Because a comma after the last element of an array or an object often
causes issues in IE.

  -- Larry

-- 
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.

Reply via email to