GMap Button Demo

This page demonstrates several ways to use GMap Button, a JavaScript library for adding buttons to embedded Google Maps. The most straight-forward way is to add a single button. By default, the button will be positioned at the top-right of the map. (Read more about Google Maps element positioning here.)
You can also create groups of buttons, all abutting one another. The callback you pass to onclick receives its associated google.maps.Map object as its sole argument.
GMap Button also comes with two pre-written buttons that help users get back to a map's previous states. Here's the first, undoZoomButton. Change the zoom level to see it appear:
And here's the second, resetButton, with custom positioning. Again, change the zoom level to see it appear: