Hi all,

In v2 I had a map of points that represented three related groups of
points.  I presented each point with a red, blue or pruple icon
depending on the group.  The points were loaded into three arrays and
each group created it's own set of markers using addoverlays.  By
doing this, I was able to toggle the visibility of the whole group
without having to create and destroy the markers each time I wanted to
change their visibility.

I'm a bit puzzled how to do this in V3.  Can someone point me in the
right direction as to how to create the markers once they are sitting
in my array.  Previously, it might have looked like:

        map.addOverlays(AllMarkers1);
        AllMarkers1Visible = true;
        map.addOverlays(AllMarkers2);
        AllMarkers2Visible = true;
        map.addOverlays(AllMarkers3);
        AllMarkers3Visible = true;

where each of the AllMarkersX items held point, icon and other info.

Any help is appreciate.  Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to