Although I haven’t managed to do any work with the Google Maps API for a few months now, I do try and frequent the Google Geo Developers Blog every once in a while.
On my last visit I noticed a post mentioning new functionality that allows you to include the standard user interface elements you get on the main Google Maps site, plus the standard behaviour of keyboard and mouse handling.
To include the new UI and behaviours, include the following code:
// var map = new GMap2(mapDiv); map.setUIToDefault();
This function will ensure that any updates to the maps.google.com UI will also be reflected on your site without you having to carry out any updates.
Read the full blog post here.