On Mar 5, 7:02 am, Alex <[email protected]> wrote:
> I am working on modifying some code provided by Mike Williams
> that creates categories from an XML file..
>
> Only I am trying to make it work with a txt file..
>
> This time to include checkboxes for the data to be turned on and off..
>
> I was successful with a previous map using a txt file as source
> before..
>
> http://www.co.frederick.va.us/planning/ParksRecSites_test.html
>
> but am now trying to incorporate the check boxes I am running into
> some issues..
>
> http://www.co.frederick.va.us/planning/yetanotherexample_checkboxes.html
>
> Any help is greatly appreciated..
Don't you have a debugger?
var name = parts([0]);
var category = parts([0]);
should be:
var name = parts[0];
var category = parts[0];
After you fix that, the "trash container" check box has the id
"theatrebox" (spaces are not allowed in id's, so you will have to
figure out how to address that). Mike's convention was category+"box"
for the id of the checkboxes.
-- 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.