var point = new GLatLng(緯度1,経度1);
var distance = point.distanceFrom(new GLatLng(緯度2,経度2));

これで2地点の距離がdistanceに入るらしいのですが
どうやって使えばいいのでしょうか?