So using one of mikes examples, i've managed to create a web page.
www.shanegrimes.co.uk/mapV5.html

I have catergorized my data, and can show and hide categories using
tick boxes.  However I cannot seem to get the names to show up in the
side bar when a category is ticked.

Here is the code for the side bar i am using

function makeSidebar() {
var html = "";
for (var i=0; i<gmarkers.length; i++) {
if (!gmarkers[i].isHidden()) {
html += '<a href="javascript:myclick(' + i + ')">' + gmarkers
[i].label1 + '<\/a><br>';
}
}
document.getElementById("side_bar_left").innerHTML = html;
}

Any suggestions on what i might be missing?  I haven't copied and
pasted the entire source code it is available at the link above.

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