Thanks for those suggestions, Larry. I'll give them a try. that set timeout thingie had not worked for me before, but I'll give it another try!
Michael On Sep 19, 11:33 am, "[email protected]" <[email protected]> wrote: > On Sep 19, 11:31 am, Michael M - As You Wish <[email protected]> > wrote: > > > > > Hi folks. > > > I have a map with about 50 polylines on it. Rather slow to load (I am > > addressing that separately) > > > The problem I'd like to address is that the display of the map, and > > most importantly its tiles, is not done till all the lines are parsed > > and rendered. > > > What I'd like is for the map to appear, and THEN the lines would get > > drawn on it, which would look cool. > > > Here is the link:http://pacificcup.org/OpenLayers/testbutton3.html > > > I had tried moving the script that adds the lines to after the divs in > > the body, but that did not work at all on IE. > > > Any hints? Am I missing something painfully obvious? > > You need to allow the browser time to render the map before doing the > processing of the polylines. Look into the setTimeout javascript > function. You might also investigate the "loading" bar examples, they > load groups of markers, then give the browser time to render the > "loading" div. > > -- Larry > > > > > Michael -- 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.
