Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In addition to rendering the boxes for each activity, the view also dynamically updates the activity boxes as they are moved and resized so that they show error messages, map labels and the current duration and times.  A single activity can be selected, at which point, it greys out parts of the schedule in which the selected activity cannot be done between.

Form: The user first selects events using a form and map. The form has little
more than a textbox for the name of the event and two dropdown menus to pick
the start and end times of the event. The textbox suggests activities within
each area from the google places API.  
Map: The map indicates both the location
of an individual activity and the user's itinerary.  When an event is selected
(or first created) a pin is placed on the map saying "Drag Me", which the user
drags to indicate the location of the activity. When a user deselects an event,
the pin becomes a normal google maps blue pin. A User can click on a pin to
select it When the event is scheduled it becomes part of the user's itinerary.
The walking path from event to event given by the google maps API is displayed.
Form: The user first selects events using a form and map. The form has little more than a textbox for the name of the event and two dropdown menus to pick the start and end times of the event. The textbox suggests activities within each area from the google places API.  

Map: The map indicates both the location of an individual activity and the user's itinerary.  When an event is selected (or first created) a pin is placed on the map saying "Drag Me", which the user drags to indicate the location of the activity. When a user deselects an event, the pin becomes a normal google maps blue pin. A User can click on a pin to select it When the event is scheduled it becomes part of the user's itinerary. The walking path from event to event given by the google maps API is displayed.TODO: Andrew: maps

Model

The fundamental object in our application is an activity: something that can be done at a particular location in between two particular times. There was simply an array of these, each with a unique id. This activity could be in one of four states: 

...