On Nov 15, 12:34 pm, Canam Group <canamgr...@gmail.com> wrote: > I just wanted to show you that Google use this (array.length=0) and > that is why I was using that as well. > The Google code doesn't add many polylines in a loop as I'm trying to > do... so it's of no help. > > Again, I cannot make my very simple example works unless I re-declare > my array of polylines each time before adding them to the map. > I don't have this problem with markers. > > It almost looks like markers are immediately added to the map, while > polylines are added after some delay (asynchronously). > > I'm just trying to find out if other people has experienced this.
I have seen at least one other example posted to this group with a similar issue, I think it was this one: http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/62a64b11019cfa25 I don't see any responses to his thread, but I think when I investigated I found something similar to what you are experiencing. -- Larry > > Thanks. -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.