vonguillo / geoxml3

Automatically exported from code.google.com/p/geoxml3
0 stars 0 forks source link

Need a simple method for kml hide on page load, then toggle checkboxes, layers on/off #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've posted this because I've searched other issues and cannot find a simple 
explanation that loads the map without layers then click to load.  I'm hoping 
there's a simple method to do this.

My KML overlays are under the initialise bracket function with the map options 
and map canvas. The two layers load visible on page load fine. Now I need to 
hide them on page load and turn them on/off with checkboxes or radio buttons.

            // Overlays 
                parser = new geoXML3.parser({map: map, 
                singleInfoWindow: true, 
                zoom: false,
                }
            );

                parser.parse(['gHV8iLk/1', 'gHV8iLk/2']);

Original issue reported on code.google.com by LoftL...@gmail.com on 8 Jul 2013 at 12:18

GoogleCodeExporter commented 9 years ago

Original comment by geocodezip on 8 Jul 2013 at 5:25

GoogleCodeExporter commented 9 years ago
Actually searching for the same behavior!

Original comment by lgeis...@volny.cz on 14 Oct 2014 at 4:39