Package src.util
Class googlemaps
java.lang.Object
src.util.googlemaps
Google Maps API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDoctors
(user user, symptom symptom, int radius) Get a List of specific Doctors near the users locationstatic boolean
getLatLong
(user user) Get the coordinates of the users address
-
Constructor Details
-
googlemaps
public googlemaps()
-
-
Method Details
-
getLatLong
Get the coordinates of the users address- Parameters:
user
-- Returns:
- true when the Lat and Long were successfully updated, otherwise false
-
getDoctors
Get a List of specific Doctors near the users location- Parameters:
user
- the user which wants the doctorssymptom
- the symptom of the userradius
- the radius we want to search in- Returns:
- a list of doctors
-