KatrinaHoffert / EatSafe

An app for finding safe places to eat
Other
2 stars 2 forks source link

Multi-map for showing all locations in a city #64

Closed KatrinaHoffert closed 9 years ago

KatrinaHoffert commented 9 years ago

All locations have a rating that is a color: "red", "yellow", or "green". We would stylize markers for all the locations in a city based on these ratings. As a result, users can quickly view how good a location is based on the color of the map marker.

Users should be able to select a marker to view the name of the location and be able to go to the location's page.

This requires that we have a "get locations by city" method that has coordinates and ratings. The SlimLocation lacks ratings, so you'll have to recover the old method that gets the full Location objects (from the git history). We might change the SlimLocation in the future. Or not. We'll see.

magnusandy commented 9 years ago

Look into Fusion Tables, through google api, This seems to be what the DineSafe Toronto is using, and from the input from the Stakeholder, this is what we want to be working towards.

KatrinaHoffert commented 9 years ago

This carries over to M4.

As discussed today, the general plan is:

  1. Display all the locations in the current viewport. Use Location.getAllLocationsWithCoords (or whatever the heck I named it)
  2. Populate the nearby locations list.
  3. Make location icons clickable. Start by linking to the location page (?). Could later expand to create a tooltip or whatever with the name of the location.
  4. Nearby locations list should either scroll map to the coordinates (my preference) or open the location page directly.
  5. Apply text-transform:uppercase to the heading above the map so that "saskatoon" becomes Saskatoon.
Assisting commented 9 years ago

This is something Quentin has been working on, though correct me if I'm wrong. And if I remember the hangouts messages correctly I seem to remember it was already completed, but I'll leave it to him to close the ticket.

KatrinaHoffert commented 9 years ago

Needs optimizations, but can be considered done.