Package src.util

Class googlemaps

java.lang.Object
src.util.googlemaps

public class googlemaps extends Object
Google Maps API
  • Constructor Details

    • googlemaps

      public googlemaps()
  • Method Details

    • getLatLong

      public static boolean getLatLong(user user)
      Get the coordinates of the users address
      Parameters:
      user -
      Returns:
      true when the Lat and Long were successfully updated, otherwise false
    • getDoctors

      public static ArrayList<doctor> getDoctors(user user, symptom symptom, int radius)
      Get a List of specific Doctors near the users location
      Parameters:
      user - the user which wants the doctors
      symptom - the symptom of the user
      radius - the radius we want to search in
      Returns:
      a list of doctors