Skip to content

GeoLocation and Maps

Nazim Bhuiyan edited this page Oct 13, 2017 · 3 revisions
UC 06.01.01
Use Case Name AddHabitLocation
Participating actors User
Goal User is able to attach location to habit events
Trigger User selects add location when adding habit events
Precondition User is logged in
Postcondition Habits have location associated with them
Basic Flow 1. User clicks add location while adding event
2. App displays map on screen with users current location
3. User selects add current location and the app saves it to the event
Exceptions
Related artifacts US 06.01.01
UC 06.02.01
Use Case Name ViewMyLocations
Participating actors User
Goal User is able to see locations their habit events
Trigger User selects maps tab
Precondition User is logged in
Postcondition Habit locations of user shown on the map
Basic Flow 1. User selects maps tab
2. App displays map on screen with users current location
3. User is able to see locations of their habit events that have locations attached to them
Exceptions
Related artifacts US 06.02.01
UC 06.03.01
Use Case Name ViewFollowingLocations
Participating actors User
Goal User is able to see the habit event locations of the people they are following on a map
Trigger User selects maps tab and selects view following
Precondition User is logged in
Postcondition A map displayed with locations of the habit events of the people they are following
Basic Flow 1. User selects maps tab
2. App displays map on screen with users current location
3. User is able to see locations of habit events of people they are following on a map
Exceptions
Related artifacts US 06.03.01
UC 06.04.01
Use Case Name NearbyHabits
Participating actors User
Goal User is able to to see and the friends they follow habit event locations within 5 km of current location
Trigger User selects maps tab and clicks nearby
Precondition User is logged in
Postcondition nearby habits displayed
Basic Flow 1. User selects maps tab
2. App displays map on screen with users current location
3. User clicks nearby and sees locations of habit events of self and following and displayed on the map
Exceptions
Related artifacts US 06.04.01