Thanks Esa and Mike.
I had not thought about the DOM being the issue. I thought it was the
multiple calls to the getPolyline. It was both!!!
Thanks,
James Love
Vernon, Canada
www.jameslove.com
On Oct 22, 1:38 am, Mike Williams <[EMAIL PROTECTED]> wrote:
> And you can also make a slight improvement by only calling
> .getPolyline() once.
>
> var poly = gdir.getPOlyline();
>
> for (var i=0; i<poly.getVertexCount(); i++) {
> var point = poly.getVertex(i);
> ...
>
> }
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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
-~----------~----~----~----~------~----~------~--~---