Larry,
I'm still a novice but this looks close to what I need. I have icons already made as png's. But I only want to show checkboxes for the subset of icons/markers being used e.g. I have all the letters of the alphabet as png's but the user only creates markers for letter J, R and T. Can you suggest a way to mod your code without a major re-write? I'm actually switching over to this from a KMLlayer. Would I be able to keep my single KMLlayer and use your code to toggle by Style? I guess I might have to switch to xml to do that (?) Thanks for any guidance, John My KMLlayer: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <Style id="A"><IconStyle><Icon><scale>1</scale><href>http://myapp.com/a.png</href></Icon></IconStyle></Style> <Style id="B"><IconStyle><Icon><scale>1</scale><href>http://myapp.com/b.png</href></Icon></IconStyle></Style> <Style id="C"><IconStyle><Icon><scale>1</scale><href>http://myapp.com/c.png</href></Icon></IconStyle></Style> <Style id="D"><IconStyle><Icon><scale>1</scale><href>http://myapp.com/d.png</href></Icon></IconStyle></Style> <Style id="E"><IconStyle><Icon><scale>1</scale><href>http://myapp.com/e.png</href></Icon></IconStyle></Style> etc…. <Placemark><name></name><styleUrl>#B</styleUrl><Point><coordinates>-74.43259521961212,40.8943650990247</coordinates></Point></Placemark> <Placemark><name></name><styleUrl>#C</styleUrl><Point><coordinates>-74.44392487049103,40.88800646036461</coordinates></Point></Placemark> <Placemark><name></name><styleUrl>#C</styleUrl><Point><coordinates>-74.44632812976837,40.88502158250371</coordinates></Point></Placemark> etc…. </Document></kml> -- 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.
