thanks Lance, and thanks for your great work on this!

I managed to solve it, and add the uncheck function to the listener.
The id construction turned out to be very simple (see below).

Now I only have two issues left, these seem to be errors in the latest
geoxml.js (because older js versions are ok): see  issue 42 and 43:
http://code.google.com/p/geoxml/issues/list

For those interested, here is the code for unchecking the folder
checkboxes:

function uncheck(checkbox) {
        var checkbox;
        var thischeckbox = document.getElementById(checkbox);
        thischeckbox.checked = false;
}

GEvent.addListener( gml1, 'parsed', function(){

        gml1.hide();
        uncheck("gml11FCB"); //id name = gml1 + 1FCB (= 1st Folder CheckBox i
presume)
});

-- 
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