On Mar 25, 9:51 am, user <[email protected]> wrote:
> I guess I'm out of my element here - I'm trying to implement something
> like:
>
> http://www.geocodezip.com/MarkerCheckBoxes.asp
> orhttp://econym.org.uk/gmap/example_map15.htm
>
> where the end user toggles the state(s) to display. I've gotten the
> sidebar to draw, but does not call the data yet:
>
> http://www.forttours.com/interact/States/testingSTATES.sidebar003.html
>
> Do I need to edit the individual KML files (or the composite Network
> Link KML) in some way so they will display as a parent folder and
> their corresponding contents? Thank you for your invaluable help.
The javascript error I get is:
Line: 67
Char: 13
Error: 'goverlays' is undefined
You need to declare the goverlay array.
add this line in the global scope (where you declare your map
variable):
var goverlays = [];
-- Larry
>
> On Mar 24, 6:01 pm, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Mar 24, 3:37 pm, user <[email protected]> wrote:
>
> > > Thanks so much - I am new to the network link protocol and was quite
> > > sloppy with the code. I closed all tags and validated the KML
> > > successfully and it renders fine (info windows notwithstanding):
>
> > >http://www.forttours.com/interact/States/testingSTATES.html
>
> > > But in my attempt to build a sidebar that users can open or close each
> > > parent folder (individual States) it seems to break:
>
> > >http://www.forttours.com/interact/States/testingSTATES.sidebar.html
>
> > > Any help will be greatly appreciated. Thanks in advance.
>
> > Where is the sidebar div? The code is looking for an element with
> > id="side_bar" to put the sidebar into. I don't see it on your page...
>
> > After that you will have a problem with your addoverlay listener. The
> > first time it is called, the overlay argument doesn't seem to exist
> > (at least in IE6).
>
> > -- Larry
>
> > > On Mar 24, 2:39 pm, Rossko <[email protected]> wrote:
>
> > > > > I have built a composite KML that renders all locations:
>
> > > > Try validating your kml.
> > > > Puttinghttp://www.forttours.com/interact/FortTours.com_States.Blend.kml
> > > > reveals a few problems, mostly missing closing tags. Simplified, in
> > > > XML (of which KML is a flavour) every opening <tag> must have a
> > > > matching closing </tag>
>
> > > > cheers, Ross K- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---