// test print routine public void print() { System.out.println("Name: " + name); System.out.println( "Location: " + geometry.getLocation1().getLat().toString() + ", " + geometry.getLocation1().getLng().toString()); System.out.println("Address: " + address); }
public String getStringLatLng() { String stringLat = String.valueOf(geometry.getLocation1().getLat()); String stringLng = String.valueOf(geometry.getLocation1().getLng()); String stringLatLng = stringLat + "," + stringLng; System.out.println("STRING LAT LNG" + stringLatLng); return stringLatLng; }
public LatLng getCourtLatLng() { LatLng courtLatLng = new LatLng(geometry.getLocation1().getLat(), geometry.getLocation1().getLng()); return courtLatLng; }