Quite often, I need the lat/long of a location. I've always used the tool from conversationswithmyself.com, but there are a couple things that I don't like about it.
1) Map is too small
2) Map does not have a zoom control
So I built my own (http://www.timhibbard.com/geoinfo/)
Here is the javascript code:
var map = new GMap(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
var point = new GPoint(-95.31549, 38.97663);
map.centerAndZoom(point, 10);
lstner = GEvent.addListener(map, 'click', function(overlay, point){
var pointA = new GPoint(point.x, point.y);
var mark = new GMarker(pointA);
map.addOverlay(mark);
map.centerAtLatLng(point);
GEvent.addListener(mark, 'click', function(){
mark.openInfoWindowHtml("long = " + point.x + ", lat = " + point.y);
});
mark.openInfoWindowHtml("long = " + point.x + ", lat = " + point.y);
});