Esa's Google Maps API examples
Measuring tape
A single button measuring ruler
Click the button and a location on map
Drag the marker
Remove ruler by doubleclicking either of the markers
Tooltips are ELabels which are great for the purpose
Zoom wide out and see the behaviour of a long polyline
Geocoder
Recommended
gmapsapiATgmailDOTcom
Example index