Not seeing it - anyone have an example? On Jun 18, 12:45 pm, finco <[email protected]> wrote: > Thanks Nathan - never used marker manager - I'll look at the > documentation and some examples. > > On Jun 18, 9:29 am, Nathan Raley <[email protected]> wrote: > > > > > I would recommend keeping what you have and instead of adding them as > > overlays use the marker manager. > > > You can push arrays of markers to the marker manager as well as remove whole > > arrays of markers with it as well so with what you have it would be very > > simple to add and/or remove markers that you have stored in arrays. > > > Let me know if that helps. > > > On Fri, Jun 18, 2010 at 6:21 AM, finco <[email protected]> wrote: > > > 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]<google-maps-js-api-v3%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
-- 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.
