We have a google maps V3 map. With a ground overlay in a function. We have a menu with items and i want when clicked on a link the groundoverlay appear and when click again, dissapear.
This is my code so far but it doesn't work yet.
Any tips ?
function Radarlaag() {
radarOverlay.setMap(null);
radarOverlay.setMap(map);
}
And this is my HTML code:
<li><a href="#" class="icon radar" id="radar_box" onclick="Radarlaag();">Radar</a></li>
Thanks!