On Oct 8, 10:03 am, Jensen <[EMAIL PROTECTED]> wrote: > Hi Larry, > > > So were we all at one point. I think that Mike Williams may have an > > example on his tutorial site: > > Part 25 Marker Categorieshttp://econym.org.uk/gmap/categories.htm > > (might be easier to figure out) > > Yes, I know - that is what I tried to use for my alternative layout: > > http://www.erstmalkucken.com/travenue0004.html > > ... but as I said - I cannot even get the basics to work.
I would suggest starting from the working page that you have that is closest to what you want and slowly adding functionality until you get it where you want. Right now the 4 and 5 versions of the page have different map initialization philosophies, on uses a function defined in the head and an onload event, the other has the code running inline just before the </body> tag. Either way will work, there are different pitfalls associated with each. > > > (the main thing to take away from the above code is that you can > > programmatically check the boxes by setting the .checked property to > > true...) > > Yes, I know what you mean: you basically "force" all checkboxes to be > checked and all marker categories to appear. I did this in an earlier > layout: > > http://www.erstmalkucken.com/travenue0001.html > > ... and it works fine. But unfortunately the idea is to NOT do this > and have the status of the checkboxes remembered instead, so the user > does not always have to uncheck checkboxes again and again just > because he changed some search parameters. Then you should have specifically asked about that case, I focused on #1. > 2. check the value of the check box and hide the markers of that > category after adding them to the map if it isn't checked. #2 is a little more complicated and requires more processing, you need to either 1. check the checkbox for the category once you have added the marker to the map and hide if it is not checked or 2. process all the markers through toggleGroup for all the checkboxes that aren't checked... -- Larry > > But as you suggested - my research continues ... :-) > > Greetings, Jensen > > > > > > > -- Larry- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
