Also looking for this solution.I am able to save my lat/long values into separate custom fields.
I will play around with your function example and see if I can get that working.
This might also be of value: http://wpquestions.com/question/show/id/7926