Click here to read about this example in my blog

Dynamically Toggle Markers in Google Maps

In this example the MarkerManager is used to put the markers on the map but here I've modified the way the show and hide methods work, so now everything is working as expected again. The markers stay hidden, even if you zoom the map.