Esa's Google Maps API examples

Hiding controls when not needed

hideControls() and showControls(), introduced in v2.44 gave the inspiration for this page. 'mouseover' and 'mouseout' events are used to show/hide the controls.

It makes map much clearer.

This page was published summertime 2006

Hundreads of pages have applied the trick.

In October 2008 the code was reformatted as a GMap2 method to be easier to include in libraries.

Method is called hoverControls(). Usage:


More experiments