Is it possible to send two lat long points to google to calculate the distance between the two?
What you're after is the Haversine formula. You don't need Google Maps to do this, you can work it out separately. There's a script to do this (in JavaScript) here.