Wow, my brains are in a whirl. I have to try and figure out what
you've done!

It seems that the test page loads the sidebar in the usual way
(broken) then fixes it. In between the two events, my Firebug says a
"main.js" at Google is unhappy.

I wonder if the code
// Create the initial sidebar
        makeSidebar();
in the onload section should be
// Create the initial sidebar
polysLoaded
? That special function only needs to happen once, right? I'm only
showing and hiding overlays. My map never adds or removes them, so
after the (hypothetically) modularized "poly-draw" routine runs during
onload, it never needs to run again. So the latency issue with getting
the isHidden value of true is solved. But if function polysLoaded() is
really the excellent solution, it seems to me it should run before the
sidebar gets collected. Or maybe I'm off on a tangent. It's more than
I can take in at a gulp! You are the crown prince of this
javascripting!

I also wonder if I need a "Loading..." div to be shown while function
polysLoaded() is running? That would be polite, especially for times
when Google or soemone's network might be really slow.

Oh, this would be so great to have implemented! I can't imagine how
you can figure all this out, and you're very kind to take so much time
with my little project.



On Mar 12, 4:58 pm, "[email protected]" <[email protected]>
wrote:
> On Mar 12, 1:27 pm, "[email protected]" <[email protected]>
> wrote:
> > This page uses the polygon visibilitychanged and the polyline
> > visibility changed events to go back and regenerate the sidebar once
> > they are correct:http://www.geocodezip.com/romanholidaymap_polysC.asp
>
> > It removes the dependency on time (the setTimeout) but adds a
> > dependency that there be both polylines and polygons in the xml file.
>  -- Larry
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to