GMap Button is a JavaScript library for adding buttons to embedded Google Maps. Its only dependency is the Google Maps JavaScript API v3.
To learn more, read the annotated code, or see the demo.
Note: GMap Button was extracted from the Wall Street Journal's "Waste Lands" project.