Пример #1
0
 // 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);
 }
Пример #2
0
  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;
  }
Пример #3
0
 public LatLng getCourtLatLng() {
   LatLng courtLatLng =
       new LatLng(geometry.getLocation1().getLat(), geometry.getLocation1().getLng());
   return courtLatLng;
 }