Skip to content

Instantly share code, notes, and snippets.

@scullygroup
scullygroup / gist:42583
Created January 2, 2009 16:02
Google Maps, use KML file from "My Maps"
<div id="map"></div>
<div id="controls">
<p class="legend"><strong>Toggle a Checkbox to Show Map Points</strong></p>
<ul>
<li><input type="checkbox" id="layer1" onClick="boxclick(this, layer1);"/><label> Layer 1 </label></li>
<li><input type="checkbox" id="layer2" onClick="boxclick(this, layer2);"/><label> Layer 2 </label></li>
<li><input type="checkbox" id="layer3" onClick="boxclick(this, layer3);"/><label> Layer 3</a></label></li>