At this example web site http://damngoodradio.com/map/ it has pretty much exactly what I'm hoping to be able to do. Upon loading the map, only 2 of the table selection boxes are checked, and a lot of icon markers are showing. The other 3 selection boxes are not checked. By selecting the 2 check boxes, all the icon markers hide, leaving the other 3 which have been unchecked. Now by selecing for example the check box for Internet, new icon markers come up. That's what I want to be able to do with my map,. and have some selection boxes unchecked and the icon markers not showing at map load and the only the icons from the unchecked selection will come up when the selection box is checked.
In his coding this top line is simular to mine where he has checked="checked"> and that causes a check mark to show in the box <input type="checkbox" name="community" value="checkbox" onclick="updateCategories()" checked="checked"> Community<br> In these 3 lines he has removed the check="checked" so the check mark isn't showing. <input type="checkbox" name="pirate" value="checkbox" onclick="updateCategories()"> Pirate<br> <input type="checkbox" name="internet" value="checkbox" onclick="updateCategories()"> Internet<br> <input type="checkbox" name="npr" value="checkbox" onclick="updateCategories()"> NPR-ish<br> My problem is understanding the onclick="updateCategories()"> that he has in all those lines and if that has anything to do with what I want to do since in studying his code I get the idea that that part of code really has to do with the selection boxes underneath. I'm thinking that there is just a little bit of changed or added code that will do what I want to do, but can't find the answer. Thanks, Gil On Nov 16, 10:52 am, Gil <[EMAIL PROTECTED]> wrote: > Sorry > > http://www.geocities.com/gilbert_fogoros > > On Nov 16, 10:39 am, Gil <[EMAIL PROTECTED]> wrote: > > > > > At my Google API map, I'm not using XML. css., special Java coding, > > but mostly <div> tags. I have a side table form that lists all the > > icon marker colors that can be selected to toggle the icom markers to > > show or not show. My problem is to be able to have the map load and > > certain icon markers not load when the check box is set to not show a > > check mark which I am able to do by removing - checked="checked" from > > some of the colored marker at the <img src= coding, but the actual > > colored markers still load onto the map. > > > When I have any of the check boxes set to not show a check mark I also > > don't want the icon marker to show on the map. How do I change my > > coding so only icon markers show on the map if there is a check mark > > in the check boxes when the map loads. > > > I have looked at a lot of coding and samples, but all of them have > > either one or the other situation. All check boxes checked or all > > check boxes unchecked, so all markers show or all don't show till > > checked. I need some of each. The best example of the problem is the > > baby blue colored marker, 4th one up from the bottom that is supposed > > to not have the marker show up on the map unless cheched. When the > > map is loaded, the baby blue icons show up in Wa & Or, but the check > > box is unchecked. > > > Can this be done with the coding I'm using? How? Thanks- 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 -~----------~----~----~----~------~----~------~--~---
