Weather Layer in Google Maps

Hello,

I have added a weather’s layer to Google Maps plugin succesfully, but i need a button to display or hide this layer (because i have a lot of markers and could be confusing with all the weather icons). In other words, i want a button -or link- where my users could show or hide the weather’s layer.

The way that i have found to add the layer -including previously the weather lib- is:

$(document).bind(“agm_google_maps-user-map_initialized”, function(e, map, data) {

weatherLayer = new google.maps.weather.WeatherLayer();

weatherLayer.setMap(map);});

I have added the button using jquery too, but i dont know how add the toggle functionallity to the button.

Any idea??

Thanks