> ... and would like to use check
> boxes to turn on and off certain groups of markers by shared rank
> number.

Modify this ..

 function toggleHide(somerank) {
       for (var i = 0; i < cm_mapMarkers.length; i++) {
         var marker = cm_mapMarkers[i];
         if (somepropertyofmarker == somerank)
         {
               here you keep simialr show/hide code
         }


Modify this, and make copies

 <input type="checkbox" id="barCheckbox"
onclick="toggleHide('rankingA')"  CHECKED .....
 <input type="checkbox" id="barCheckbox"
onclick="toggleHide('rankingB')"  CHECKED .....

and alter the code that populates your cm_mapMarkers[i] array to add a
custom property to each marker such as
   marker.Myranking = 'rankingA';

cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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