I don't have much math help to offer here.
I recently worked with as3 and the google maps API, and they have a java API also (but I'm not in particular familiar with it) . You can retrieve Lat and Long from mouse clicks.
So that would perhaps be a nice interface?
Developer Guide: Java - Google Maps Data API - Google Code