On Mar 22, 6:29 am, "drucey (real!)" <[email protected]> wrote: > Dear all, > > I was hoping someone might be able to help me - I'm very new at the > Google Maps API and Javascript in general, and have pieced together a > working map that covers most of the functionality I'm looking for. > > But, I'm REALLY struggling with the last two things. > If anyone had a second to have a quick look, I'd really appreciate it. > > MAP:http://www.tresco.co.uk/about-tresco/about-tresco/mapv1413.aspx > > What I am trying to do (and have tried): > > With all the cottage markers on the map, put them in one of three > groups (groupOne, groupTwo, groupThree) > When the map loads, it loads all markers. > But I want links/buttons the user can click on to ONLY see groupOne, > groupTwo or groupThree's markers.
You trying to do something like this? http://www.geocodezip.com/v3_MW_example_categories.html > You can see my attempt in the source, but it doesn't work. Might > anyone know why? your "groupOne" array is local to the initialize function. HTML click handlers run in the global context. -- Larry > > Thanks for any advice! -- 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.
