What I did was cut down Mike's example just to get the category like 'End'.
Having got the variable value with the category I plugged into this part of
the script.

snip

hide("Wishes");
hide("Thenight");
hide("End");
show(value);
 }

snip

The show(value) goes to the show() function

function show(category) {
        for (var i=0; i<gmarkers.length; i++) {
          if (gmarkers[i].mycategory == category) {
            gmarkers[i].show();
          }
        }
        // == check the checkbox ==
        document.getElementById(category+"box").checked = true;
      }

It's now possible to pass more variables from the query
string and deal with them in same as Mike did and then
modify the script to deal with one marker instead of a category group.

Ralph 



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